summaryrefslogtreecommitdiff
path: root/cmd/podman/export.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-03-11 11:43:03 -0700
committerGitHub <noreply@github.com>2019-03-11 11:43:03 -0700
commit7038cac53c4c93cd088fdbb097eee8d45494c3b8 (patch)
tree958df194bdd61cc209efa0480ea52634149f6250 /cmd/podman/export.go
parentb8863b260a7885981def2b02b5acc7c9a209e0c6 (diff)
parent651520389d239f335248a27595d39a815ef95238 (diff)
downloadpodman-7038cac53c4c93cd088fdbb097eee8d45494c3b8.tar.gz
podman-7038cac53c4c93cd088fdbb097eee8d45494c3b8.tar.bz2
podman-7038cac53c4c93cd088fdbb097eee8d45494c3b8.zip
Merge pull request #2578 from baude/movecreate
preparation for remote-client create container
Diffstat (limited to 'cmd/podman/export.go')
-rw-r--r--cmd/podman/export.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/podman/export.go b/cmd/podman/export.go
index 4be2a3c86..e5dc410a7 100644
--- a/cmd/podman/export.go
+++ b/cmd/podman/export.go
@@ -4,6 +4,7 @@ import (
"os"
"github.com/containers/libpod/cmd/podman/cliconfig"
+ "github.com/containers/libpod/cmd/podman/shared/parse"
"github.com/containers/libpod/pkg/adapter"
"github.com/containers/libpod/pkg/rootless"
"github.com/pkg/errors"
@@ -70,7 +71,7 @@ func exportCmd(c *cliconfig.ExportValues) error {
}
}
- if err := validateFileName(output); err != nil {
+ if err := parse.ValidateFileName(output); err != nil {
return err
}
return runtime.Export(args[0], output)