src: De-lint scaleway code

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
This commit is contained in:
Rolf Neugebauer 2019-03-03 15:09:13 +00:00
parent e340827c5c
commit e71a88a929
2 changed files with 2 additions and 2 deletions

View File

@ -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)
} }
} }
} }

View File

@ -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