summaryrefslogtreecommitdiff
path: root/cmd/podman/main.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-09-18 21:12:04 +0200
committerGitHub <noreply@github.com>2019-09-18 21:12:04 +0200
commit8133aa1ee88cea2c89d38c1c56974c8889ef0933 (patch)
tree95e2cbc29508cd9e40d5bbee200f83fbc4ad1747 /cmd/podman/main.go
parent2c51d6f800a1ed472da3b88b4f987ab73953c8d0 (diff)
parent0d9b952aeab95c59b28bcea42f719d06363b45b5 (diff)
downloadpodman-8133aa1ee88cea2c89d38c1c56974c8889ef0933.tar.gz
podman-8133aa1ee88cea2c89d38c1c56974c8889ef0933.tar.bz2
podman-8133aa1ee88cea2c89d38c1c56974c8889ef0933.zip
Merge pull request #4041 from baude/remoteconfigport
support non-standard ssh port for remote-client
Diffstat (limited to 'cmd/podman/main.go')
-rw-r--r--cmd/podman/main.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/podman/main.go b/cmd/podman/main.go
index b83ccd9a5..992dbe1d5 100644
--- a/cmd/podman/main.go
+++ b/cmd/podman/main.go
@@ -111,6 +111,11 @@ func before(cmd *cobra.Command, args []string) error {
return err
}
+ // check that global opts input is valid
+ if err := checkInput(); err != nil {
+ return err
+ }
+
// Set log level; if not log-level is provided, default to error
logLevel := MainGlobalOpts.LogLevel
if logLevel == "" {