diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-17 17:01:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-17 17:01:07 -0400 |
commit | aa97cb5f42a35de02d520f6c3006600505a3d6d9 (patch) | |
tree | b354e1b392597557658cce2750d9ae22734a6d7d | |
parent | bd8a0b08cdea5f15d6033b24038ba71aef1f8962 (diff) | |
parent | 6c421b076f71167c16d99656747784dede1a4898 (diff) | |
download | podman-aa97cb5f42a35de02d520f6c3006600505a3d6d9.tar.gz podman-aa97cb5f42a35de02d520f6c3006600505a3d6d9.tar.bz2 podman-aa97cb5f42a35de02d520f6c3006600505a3d6d9.zip |
Merge pull request #5869 from rhatdan/user
We were not handling the user option on create
-rw-r--r-- | cmd/podman/common/specgen.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/common/specgen.go b/cmd/podman/common/specgen.go index 87194a9fb..85b344b3c 100644 --- a/cmd/podman/common/specgen.go +++ b/cmd/podman/common/specgen.go @@ -34,6 +34,7 @@ func FillOutSpecGen(s *specgen.SpecGenerator, c *ContainerCLIOpts, args []string return nil } + s.User = c.User inputCommand := args[1:] if len(c.HealthCmd) > 0 { s.HealthConfig, err = makeHealthCheckFromCli(c.HealthCmd, c.HealthInterval, c.HealthRetries, c.HealthTimeout, c.HealthStartPeriod) |