diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-03-21 14:46:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-21 14:46:39 +0100 |
commit | 195a82ffbc435716ef5bb69f6eefa333abe3f840 (patch) | |
tree | 5d37dc8abce399a4bad65eb7eb81614ce63a63cc /cmd/podmanV2/volumes/volume.go | |
parent | e1f2851976fb66b92779fcb45a2ae2117923ca4e (diff) | |
parent | c3a9ff11743c1ee25515ced348ec635fb7703aa0 (diff) | |
download | podman-195a82ffbc435716ef5bb69f6eefa333abe3f840.tar.gz podman-195a82ffbc435716ef5bb69f6eefa333abe3f840.tar.bz2 podman-195a82ffbc435716ef5bb69f6eefa333abe3f840.zip |
Merge pull request #5577 from baude/v2volumecreate
podmanv2 volume create
Diffstat (limited to 'cmd/podmanV2/volumes/volume.go')
-rw-r--r-- | cmd/podmanV2/volumes/volume.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cmd/podmanV2/volumes/volume.go b/cmd/podmanV2/volumes/volume.go index 245c06da0..84abe3d24 100644 --- a/cmd/podmanV2/volumes/volume.go +++ b/cmd/podmanV2/volumes/volume.go @@ -1,4 +1,4 @@ -package images +package volumes import ( "github.com/containers/libpod/cmd/podmanV2/registry" @@ -8,7 +8,7 @@ import ( var ( // Command: podman _volume_ - cmd = &cobra.Command{ + volumeCmd = &cobra.Command{ Use: "volume", Short: "Manage volumes", Long: "Volumes are created in and can be shared between containers", @@ -21,10 +21,10 @@ var ( func init() { registry.Commands = append(registry.Commands, registry.CliCommand{ Mode: []entities.EngineMode{entities.ABIMode, entities.TunnelMode}, - Command: cmd, + Command: volumeCmd, }) - cmd.SetHelpTemplate(registry.HelpTemplate()) - cmd.SetUsageTemplate(registry.UsageTemplate()) + volumeCmd.SetHelpTemplate(registry.HelpTemplate()) + volumeCmd.SetUsageTemplate(registry.UsageTemplate()) } func preRunE(cmd *cobra.Command, args []string) error { |