summaryrefslogtreecommitdiff
path: root/cmd/podman/shared/create.go
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2019-08-26 16:26:06 -0700
committerJhon Honce <jhonce@redhat.com>2019-08-26 16:45:49 -0700
commit02cda4066d9367378b59b831839894fc7a7deabe (patch)
tree936ecefd2b851d906d596330c779a211b8a85376 /cmd/podman/shared/create.go
parentcec354aac97edaafe8467b3840eaec0a0466c651 (diff)
downloadpodman-02cda4066d9367378b59b831839894fc7a7deabe.tar.gz
podman-02cda4066d9367378b59b831839894fc7a7deabe.tar.bz2
podman-02cda4066d9367378b59b831839894fc7a7deabe.zip
Update varlink doc and code
* Improved error message * Added documentation * Updated messages to include missing data Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'cmd/podman/shared/create.go')
-rw-r--r--cmd/podman/shared/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/shared/create.go b/cmd/podman/shared/create.go
index 094330e24..acbd53dba 100644
--- a/cmd/podman/shared/create.go
+++ b/cmd/podman/shared/create.go
@@ -81,7 +81,7 @@ func CreateContainer(ctx context.Context, c *GenericCLIResults, runtime *libpod.
if len(c.InputArgs) != 0 {
name = c.InputArgs[0]
} else {
- return nil, nil, errors.Errorf("error, no input arguments were provided")
+ return nil, nil, errors.Errorf("error, image name not provided")
}
pullType, err := util.ValidatePullType(c.String("pull"))