mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 18:11:35 +00:00
src: De-lint scaleway code
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
This commit is contained in:
parent
e340827c5c
commit
e71a88a929
@ -98,7 +98,7 @@ func pushScaleway(args []string) {
|
|||||||
if !*noCleanFlag {
|
if !*noCleanFlag {
|
||||||
err = client.DeleteInstanceAndVolumes(instanceID)
|
err = client.DeleteInstanceAndVolumes(instanceID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("Error deleting Scaleway instance and volumes: %v")
|
log.Fatalf("Error deleting Scaleway instance and volumes: %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -492,7 +492,7 @@ func (s *ScalewayClient) ConnectSerialPort(instanceID string) error {
|
|||||||
|
|
||||||
fullURL := fmt.Sprintf("%s?arg=%s&arg=%s", gottyURL, s.api.Token, instanceID)
|
fullURL := fmt.Sprintf("%s?arg=%s&arg=%s", gottyURL, s.api.Token, instanceID)
|
||||||
|
|
||||||
log.Debugf("Connection to ", fullURL)
|
log.Debugf("Connection to %s", fullURL)
|
||||||
gottyClient, err := gotty.NewClient(fullURL)
|
gottyClient, err := gotty.NewClient(fullURL)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user