summaryrefslogtreecommitdiff
path: root/pkg/api/handlers
diff options
context:
space:
mode:
authorJosé Guilherme Vanz <jvanz@jvanz.com>2021-06-29 16:39:11 -0300
committerJosé Guilherme Vanz <jvanz@jvanz.com>2021-07-15 21:27:51 -0300
commitaf40dfc2bf614aeb4191916cc2420068696eb776 (patch)
treef7470681896508a28aa16095908a62709b6539b7 /pkg/api/handlers
parent12b67aaf62b6e99f94db7ea89dad87f16a9fbd86 (diff)
downloadpodman-af40dfc2bf614aeb4191916cc2420068696eb776.tar.gz
podman-af40dfc2bf614aeb4191916cc2420068696eb776.tar.bz2
podman-af40dfc2bf614aeb4191916cc2420068696eb776.zip
--infra-name command line argument
Adds the new --infra-name command line argument allowing users to define the name of the infra container Issue #10794 Signed-off-by: José Guilherme Vanz <jvanz@jvanz.com>
Diffstat (limited to 'pkg/api/handlers')
-rw-r--r--pkg/api/handlers/types.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/api/handlers/types.go b/pkg/api/handlers/types.go
index 59f948567..3cc10d70f 100644
--- a/pkg/api/handlers/types.go
+++ b/pkg/api/handlers/types.go
@@ -133,6 +133,7 @@ type PodCreateConfig struct {
Infra bool `json:"infra"`
InfraCommand string `json:"infra-command"`
InfraImage string `json:"infra-image"`
+ InfraName string `json:"infra-name"`
Labels []string `json:"labels"`
Publish []string `json:"publish"`
Share string `json:"share"`