summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-08-27 11:43:24 +0200
committerGitHub <noreply@github.com>2019-08-27 11:43:24 +0200
commitf221c6101934fccbd6705f3b387aadc9ae710f66 (patch)
tree936ecefd2b851d906d596330c779a211b8a85376 /cmd/podman
parentcec354aac97edaafe8467b3840eaec0a0466c651 (diff)
parent02cda4066d9367378b59b831839894fc7a7deabe (diff)
downloadpodman-f221c6101934fccbd6705f3b387aadc9ae710f66.tar.gz
podman-f221c6101934fccbd6705f3b387aadc9ae710f66.tar.bz2
podman-f221c6101934fccbd6705f3b387aadc9ae710f66.zip
Merge pull request #3888 from jwhonce/wip/api
Update varlink doc and code for images
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/shared/create.go2
-rw-r--r--cmd/podman/varlink/io.podman.varlink4
2 files changed, 4 insertions, 2 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"))
diff --git a/cmd/podman/varlink/io.podman.varlink b/cmd/podman/varlink/io.podman.varlink
index 2873d9761..752e28256 100644
--- a/cmd/podman/varlink/io.podman.varlink
+++ b/cmd/podman/varlink/io.podman.varlink
@@ -274,6 +274,8 @@ type Sockets(
)
# Create is an input structure for creating containers.
+# args[0] is the image name or id
+# args[1-] are the new commands if changed
type Create (
args: []string,
addHost: ?[]string,
@@ -1281,4 +1283,4 @@ error WantsMoreRequired (reason: string)
error ErrCtrStopped (id: string)
# This function requires CGroupsV2 to run in rootless mode.
-error ErrRequiresCgroupsV2ForRootless(reason: string) \ No newline at end of file
+error ErrRequiresCgroupsV2ForRootless(reason: string)