mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Lint #28427
This commit is contained in:
parent
d354885c3d
commit
459a342102
2 changed files with 2 additions and 3 deletions
|
@ -1208,8 +1208,7 @@ def get_chassis_location(host=None,
|
|||
'''
|
||||
return system_info(host=host,
|
||||
admin_username=admin_username,
|
||||
admin_password=admin_password)['Chassis Information']\
|
||||
['Chassis Location']
|
||||
admin_password=admin_password)['Chassis Information']['Chassis Location']
|
||||
|
||||
|
||||
def set_chassis_datacenter(location,
|
||||
|
|
|
@ -284,7 +284,7 @@ def chassis(name, chassis_name=None, password=None, datacenter=None,
|
|||
|
||||
if password:
|
||||
ret['changes'].update({'Password':
|
||||
{ 'Old': '******',
|
||||
{'Old': '******',
|
||||
'New': '******'}})
|
||||
if location:
|
||||
current_location = __salt__[chassis_cmd]('get_chassis_location')
|
||||
|
|
Loading…
Add table
Reference in a new issue