diff options
author | baude <bbaude@redhat.com> | 2017-11-02 13:17:09 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2017-11-04 11:12:14 -0500 |
commit | 0026075d59b5e6e90786ed21825ac43d4f59fa5a (patch) | |
tree | e50aa13cd31b63d797cabe4b9157599bf2f36898 /cmd/kpod/create_cli.go | |
parent | 69cecb049aaf37fcc9a086b3f3f84e6e63174b14 (diff) | |
download | podman-0026075d59b5e6e90786ed21825ac43d4f59fa5a.tar.gz podman-0026075d59b5e6e90786ed21825ac43d4f59fa5a.tar.bz2 podman-0026075d59b5e6e90786ed21825ac43d4f59fa5a.zip |
libpod/runtime_img_test.go Unit Tests
Unit tests for getRegistry related functions.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/kpod/create_cli.go')
-rw-r--r-- | cmd/kpod/create_cli.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/kpod/create_cli.go b/cmd/kpod/create_cli.go index 1cc00adc5..eaad46591 100644 --- a/cmd/kpod/create_cli.go +++ b/cmd/kpod/create_cli.go @@ -36,7 +36,7 @@ func getAllEnvironmentVariables(envFiles, envInput []string) ([]string, error) { env = append(env, defaultEnvVariables...) } // Each environment variable must be in the K=V format - for _,i := range env{ + for _, i := range env { spliti := strings.Split(i, "=") if len(spliti) != 2 { return env, errors.Errorf("environment variables must be in the format KEY=VALUE: %s is invalid", i) |