fix test
This commit is contained in:
parent
e407957c0a
commit
df8ce93699
2 changed files with 11 additions and 7 deletions
|
|
@ -3356,12 +3356,13 @@ def anon_handle_hostinfo(goptions, session, args):
|
|||
|
||||
def _multicall_with_check(session, batch_size):
|
||||
"""Helper for running multicall inside handle_clone_tag"""
|
||||
error = False
|
||||
err = False
|
||||
for r in session.multiCall(batch=batch_size):
|
||||
if isinstance(r, dict):
|
||||
warn(r['faultString'])
|
||||
error = True
|
||||
error('Errors during the last call. Target tag could be inconsistent.')
|
||||
err = True
|
||||
if err:
|
||||
error('Errors during the last call. Target tag could be inconsistent.')
|
||||
|
||||
|
||||
def handle_clone_tag(goptions, session, args):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue