[FIX] graceful is not an immutable attribute

pull/64397/head
Michael Shen 5 years ago
parent 3126c38f8a
commit 1f4d15fc55

@ -444,6 +444,8 @@ def service_identical(client, module, service_proxy):
# of the retrieved object # of the retrieved object
if 'ip' in diff_dict: if 'ip' in diff_dict:
del diff_dict['ip'] del diff_dict['ip']
if 'graceful' in diff_dict:
del diff_dict['graceful']
if len(diff_dict) == 0: if len(diff_dict) == 0:
return True return True
else: else:
@ -828,7 +830,6 @@ def main():
'td', 'td',
'monitor_name_svc', 'monitor_name_svc',
'riseapbrstatsmsgcode', 'riseapbrstatsmsgcode',
'graceful',
'all', 'all',
'Internal', 'Internal',
'newname', 'newname',

Loading…
Cancel
Save