mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Updating some formatting.
This commit is contained in:
parent
00063e8fc7
commit
2ba749e841
@ -295,7 +295,7 @@ class Beacon(object):
|
||||
comment = 'Updating settings for beacon ' \
|
||||
'item: {0}'.format(name)
|
||||
else:
|
||||
comment = 'Added new beacon item {0}'.format(name)
|
||||
comment = 'Added new beacon item: {0}'.format(name)
|
||||
complete = True
|
||||
self.opts['beacons'].update(data)
|
||||
|
||||
@ -345,7 +345,7 @@ class Beacon(object):
|
||||
else:
|
||||
if name in self.opts['beacons']:
|
||||
del self.opts['beacons'][name]
|
||||
comment = 'Deleting beacon item {0}'.format(name)
|
||||
comment = 'Deleting beacon item: {0}'.format(name)
|
||||
else:
|
||||
comment = 'Beacon item {0} not found.'.format(name)
|
||||
complete = True
|
||||
|
@ -147,7 +147,7 @@ def add(name, beacon_data, **kwargs):
|
||||
return ret
|
||||
|
||||
if name not in list_available(return_yaml=False):
|
||||
ret['comment'] = 'Beacon {0} is not available.'.format(name)
|
||||
ret['comment'] = 'Beacon "{0}" is not available.'.format(name)
|
||||
return ret
|
||||
|
||||
if 'test' in kwargs and kwargs['test']:
|
||||
|
Loading…
Reference in New Issue
Block a user