Skip to content

Commit ef15bcb

Browse files
author
Vitor Hugo H. Marzarotto
committed
Resolve autocomplete of migrateSystemVm
1 parent 1f45761 commit ef15bcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/completer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ func (t *autoCompleter) Do(line []rune, pos int) (options [][]rune, offset int)
389389

390390
if apiFound.Name != "provisionCertificate" && autocompleteAPI.Name == "listHosts" {
391391
autocompleteAPIArgs = append(autocompleteAPIArgs, "type=Routing")
392-
} else if apiFound.Name == "migrateSystemVm" {
392+
} else if apiFound.Name == "migrateSystemVm" && autocompleteAPI.Name == "listVirtualMachines" {
393393
autocompleteAPI.Name = "listSystemVms"
394394
}
395395

0 commit comments

Comments
 (0)