Revision af1a81d1
b/lib/cli.py | ||
---|---|---|
375 | 375 |
if not args: |
376 | 376 |
raise errors.OpPrereqError("No tags to be added") |
377 | 377 |
op = opcodes.OpAddTags(kind=kind, name=name, tags=args) |
378 |
SubmitOpCode(op) |
|
378 |
SubmitOpCode(op, opts=opts)
|
|
379 | 379 |
|
380 | 380 |
|
381 | 381 |
def RemoveTags(opts, args): |
... | ... | |
392 | 392 |
if not args: |
393 | 393 |
raise errors.OpPrereqError("No tags to be removed") |
394 | 394 |
op = opcodes.OpDelTags(kind=kind, name=name, tags=args) |
395 |
SubmitOpCode(op) |
|
395 |
SubmitOpCode(op, opts=opts)
|
|
396 | 396 |
|
397 | 397 |
|
398 | 398 |
def check_unit(option, opt, value): # pylint: disable-msg=W0613 |
b/scripts/gnt-os | ||
---|---|---|
136 | 136 |
else: |
137 | 137 |
return "invalid - %s" % diagnose |
138 | 138 |
|
139 |
|
|
139 | 140 |
def DiagnoseOS(opts, args): |
140 | 141 |
"""Analyse all OSes on this cluster. |
141 | 142 |
|
Also available in: Unified diff