diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-04-28 14:25:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-28 14:25:43 -0400 |
commit | 2e9f792e378491acc3c04ba389ec7cf15bef471e (patch) | |
tree | c7c864d61471b2b3559132cb870b9efdfce3a9b3 /cmd/podman/auto-update.go | |
parent | b2725024f859193eef10d33837258b206aab8245 (diff) | |
parent | 6b7fd318bd541033ab36fb5c3b3d0bfe79fc4f8c (diff) | |
download | podman-2e9f792e378491acc3c04ba389ec7cf15bef471e.tar.gz podman-2e9f792e378491acc3c04ba389ec7cf15bef471e.tar.bz2 podman-2e9f792e378491acc3c04ba389ec7cf15bef471e.zip |
Merge pull request #14053 from Luap99/shell-format
shell completion --format: work with nil structs
Diffstat (limited to 'cmd/podman/auto-update.go')
-rw-r--r-- | cmd/podman/auto-update.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/auto-update.go b/cmd/podman/auto-update.go index f8b9fba08..1dc29530e 100644 --- a/cmd/podman/auto-update.go +++ b/cmd/podman/auto-update.go @@ -57,7 +57,7 @@ func init() { flags.BoolVar(&autoUpdateOptions.Rollback, "rollback", true, "Rollback to previous image if update fails") flags.StringVar(&autoUpdateOptions.format, "format", "", "Change the output format to JSON or a Go template") - _ = autoUpdateCommand.RegisterFlagCompletionFunc("format", common.AutocompleteFormat(autoUpdateOutput{})) + _ = autoUpdateCommand.RegisterFlagCompletionFunc("format", common.AutocompleteFormat(&autoUpdateOutput{})) } func autoUpdate(cmd *cobra.Command, args []string) error { |