summaryrefslogtreecommitdiff
path: root/pkg/adapter/pods.go
diff options
context:
space:
mode:
authorChristian Felder <c.felder@fz-juelich.de>2020-03-26 15:22:09 +0100
committerChristian Felder <c.felder@fz-juelich.de>2020-03-27 10:00:01 +0100
commit90d82eb0349850521fcc53a4ddafa08e0785ebf0 (patch)
treef3b9f0e5ac16c672f175d6ed0db44a044bf23985 /pkg/adapter/pods.go
parentc869b96d777d12a7d9ef191976d4131270d68858 (diff)
downloadpodman-90d82eb0349850521fcc53a4ddafa08e0785ebf0.tar.gz
podman-90d82eb0349850521fcc53a4ddafa08e0785ebf0.tar.bz2
podman-90d82eb0349850521fcc53a4ddafa08e0785ebf0.zip
Fix typo in pod create
Signed-off-by: Christian Felder <c.felder@fz-juelich.de>
Diffstat (limited to 'pkg/adapter/pods.go')
-rw-r--r--pkg/adapter/pods.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/adapter/pods.go b/pkg/adapter/pods.go
index 1417bd2b9..9a83e9945 100644
--- a/pkg/adapter/pods.go
+++ b/pkg/adapter/pods.go
@@ -343,7 +343,7 @@ func (r *LocalRuntime) CreatePod(ctx context.Context, cli *cliconfig.PodCreateVa
logrus.Debugf("Pod will use host networking")
options = append(options, libpod.WithPodHostNetwork())
case "":
- return "", errors.Errorf("invalid value passed to --net: must provide a comma-separated list of CNI networks or host")
+ return "", errors.Errorf("invalid value passed to --network: must provide a comma-separated list of CNI networks or host")
default:
// We'll assume this is a comma-separated list of CNI
// networks.