mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-07 20:17:24 +00:00
src: De-lint scaleway code
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
This commit is contained in:
@@ -98,7 +98,7 @@ func pushScaleway(args []string) {
|
||||
if !*noCleanFlag {
|
||||
err = client.DeleteInstanceAndVolumes(instanceID)
|
||||
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)
|
||||
|
||||
log.Debugf("Connection to ", fullURL)
|
||||
log.Debugf("Connection to %s", fullURL)
|
||||
gottyClient, err := gotty.NewClient(fullURL)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user