mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Make sure message is the most accurate. Instance may be stopped or shutting down.
This commit is contained in:
parent
da6b4b3604
commit
57c6535fc2
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ class SaltCloud(parsers.SaltCloudParser):
|
|||
if dmap.get('existing', None):
|
||||
for name in dmap['existing']:
|
||||
if 'ec2' in dmap['existing'][name]['provider']:
|
||||
msg = 'Already running, or is terminated and has the same name.'
|
||||
msg = 'Instance already exists, or is terminated and has the same name.'
|
||||
else:
|
||||
msg = 'Already running.'
|
||||
ret[name] = {'Message': msg}
|
||||
|
|
Loading…
Add table
Reference in a new issue