diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-12-14 08:32:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-14 08:32:52 -0500 |
commit | bdbf47f606fbb592d563d33ddf3b7200c8607bf2 (patch) | |
tree | f32a9808524b6a211dde428a2dddc935ec058677 /cmd/podman/play/kube.go | |
parent | a226e6ed318ae7b7af16081b787cc80718e73e2d (diff) | |
parent | f7bd0a495ac40c5165e699f2eee31a33c3c0850f (diff) | |
download | podman-bdbf47f606fbb592d563d33ddf3b7200c8607bf2.tar.gz podman-bdbf47f606fbb592d563d33ddf3b7200c8607bf2.tar.bz2 podman-bdbf47f606fbb592d563d33ddf3b7200c8607bf2.zip |
Merge pull request #8699 from Luap99/network-flag-completion
shell completion for the network flag
Diffstat (limited to 'cmd/podman/play/kube.go')
-rw-r--r-- | cmd/podman/play/kube.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/play/kube.go b/cmd/podman/play/kube.go index 5e227d05a..db7280b1d 100644 --- a/cmd/podman/play/kube.go +++ b/cmd/podman/play/kube.go @@ -61,7 +61,7 @@ func init() { networkFlagName := "network" flags.StringVar(&kubeOptions.Network, networkFlagName, "", "Connect pod to CNI network(s)") - _ = kubeCmd.RegisterFlagCompletionFunc(networkFlagName, common.AutocompleteNetworks) + _ = kubeCmd.RegisterFlagCompletionFunc(networkFlagName, common.AutocompleteNetworkFlag) logDriverFlagName := "log-driver" flags.StringVar(&kubeOptions.LogDriver, logDriverFlagName, "", "Logging driver for the container") |