diff options
author | baude <bbaude@redhat.com> | 2021-03-22 13:29:25 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2021-03-25 11:02:33 -0500 |
commit | 4ab8a6f67eb9de0de40d478cb0cbec05b1b725c0 (patch) | |
tree | 00743bf608cc5700fe8a7fca1bb3b0f3a4457b7d /cmd/podman/common | |
parent | e7661137373b5f87bf6ec45e32326821b172ce7b (diff) | |
download | podman-4ab8a6f67eb9de0de40d478cb0cbec05b1b725c0.tar.gz podman-4ab8a6f67eb9de0de40d478cb0cbec05b1b725c0.tar.bz2 podman-4ab8a6f67eb9de0de40d478cb0cbec05b1b725c0.zip |
Improvements for machine
clean up ci failures and add appropriate arch,os exclusion tags
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/common')
-rw-r--r-- | cmd/podman/common/completion.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/podman/common/completion.go b/cmd/podman/common/completion.go index bc106263c..6bed5e0c6 100644 --- a/cmd/podman/common/completion.go +++ b/cmd/podman/common/completion.go @@ -1092,3 +1092,11 @@ func AutocompleteVolumeFilters(cmd *cobra.Command, args []string, toComplete str } return completeKeyValues(toComplete, kv) } + +// AutocompleteMachineSSH - Autocomplete machine ssh command. +func AutocompleteMachineSSH(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { + if len(args) == 0 { + return nil, cobra.ShellCompDirectiveNoFileComp + } + return nil, cobra.ShellCompDirectiveDefault +} |