Browse Source

Fix labels to take multiple values

Closes-Bug: #1798362
Change-Id: I635e7d53f8aea63c05a2e5565f2a2ab40dcd38f8
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
(cherry picked from commit b28914702a)
changes/35/702435/2
Bogdan Dobrelya 1 year ago
parent
commit
f12e6da460
2 changed files with 8 additions and 2 deletions
  1. +4
    -2
      paunch/cmd.py
  2. +4
    -0
      releasenotes/notes/labels-96a99153cf97c3aa.yaml

+ 4
- 2
paunch/cmd.py View File

@@ -41,8 +41,9 @@ class Apply(command.Command):
metavar='<label=value>',
dest='labels',
default=[],
action='append',
help=('Extra labels to apply to containers in this config, in the '
'form label=value.'),
'form --label label=value --label label2=value2.'),
)
parser.add_argument(
'--managed-by',
@@ -178,8 +179,9 @@ class Debug(command.Command):
metavar='<label=value>',
dest='labels',
default=[],
action='append',
help=('Extra labels to apply to containers in this config, in the '
'form label=value.')
'form --label label=value --label label2=value2.'),
)
parser.add_argument(
'--managed-by',

+ 4
- 0
releasenotes/notes/labels-96a99153cf97c3aa.yaml View File

@@ -0,0 +1,4 @@
---
fixes:
- |
Fixed ``--labels`` can takes multiple values.

Loading…
Cancel
Save