mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
closes #14587
This commit is contained in:
parent
44401243b0
commit
88792c67bd
@ -236,7 +236,7 @@ def _instance_profile_associated(
|
||||
ret['comment'] = 'Instance profile {0} associated.'.format(name)
|
||||
else:
|
||||
ret['result'] = False
|
||||
msg = 'Failed to associate {0} instance profile with {1} role.'
|
||||
msg = 'Failed to associate {0} instance profile with {0} role.'
|
||||
ret['comment'] = msg.format(name)
|
||||
return ret
|
||||
|
||||
@ -499,6 +499,6 @@ def _instance_profile_disassociated(
|
||||
ret['comment'] = msg
|
||||
else:
|
||||
ret['result'] = False
|
||||
msg = 'Failed to disassociate {0} instance profile from {1} role.'
|
||||
msg = 'Failed to disassociate {0} instance profile from {0} role.'
|
||||
ret['comment'] = msg.format(name)
|
||||
return ret
|
||||
|
Loading…
Reference in New Issue
Block a user