Skip to content
Snippets Groups Projects
Commit 19ea107e authored by Florent Gluck's avatar Florent Gluck
Browse files

Fixed a bug in vm_attach

parent 41ef4f13
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ func (cmd *CmdVMAttach)Run(args []string) int { ...@@ -33,7 +33,7 @@ func (cmd *CmdVMAttach)Run(args []string) int {
id := args[0] id := args[0]
resp, err := client.R().Get(host+"/vms/"+id) resp, err := client.R().Get(host+"/vms/"+id+"/list")
if err != nil { if err != nil {
printlnErr("Error: "+err.Error()) printlnErr("Error: "+err.Error())
return 1 return 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment