mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +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 {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user