Skip to content

Commit 6cfd1ed

Browse files
committed
Fix VM shutdown interactive answer
1 parent 8388ce8 commit 6cfd1ed

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/server.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,6 @@ func checkServerStatus(srcServerClient *gophercloud.ServiceClient, srcServer *se
565565
if !yes {
566566
fmt.Printf("It is recommended to shut down the VM before the migration\n")
567567
fmt.Printf("Do you want to shut down the VM? ([y]/n): ")
568-
var ans string
569568
_, err := fmt.Scan(&ans)
570569
if err != nil {
571570
return err

0 commit comments

Comments
 (0)