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
)
This commit is contained in:
parent
d2a7acfa22
commit
f12e6da460
|
@ -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',
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixed ``--labels`` can takes multiple values.
|
Loading…
Reference in New Issue