Fix labels to take multiple values
Closes-Bug: #1798362 Change-Id: I635e7d53f8aea63c05a2e5565f2a2ab40dcd38f8 Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
This commit is contained in:
parent
d3c83259bf
commit
b28914702a
|
@ -38,8 +38,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',
|
||||
|
@ -179,8 +180,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',
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixed ``--labels`` can takes multiple values.
|
Loading…
Reference in New Issue