mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
parent
405d86a2ca
commit
749e0031d7
@ -1044,10 +1044,10 @@ def format_call(fun,
|
||||
continue
|
||||
extra[key] = copy.deepcopy(value)
|
||||
|
||||
# We'll be showing errors to the users until Salt Carbon comes out, after
|
||||
# We'll be showing errors to the users until Salt Oxygen comes out, after
|
||||
# which, errors will be raised instead.
|
||||
warn_until(
|
||||
'Carbon',
|
||||
'Oxygen',
|
||||
'It\'s time to start raising `SaltInvocationError` instead of '
|
||||
'returning warnings',
|
||||
# Let's not show the deprecation warning on the console, there's no
|
||||
@ -1084,7 +1084,7 @@ def format_call(fun,
|
||||
'{0}. If you were trying to pass additional data to be used '
|
||||
'in a template context, please populate \'context\' with '
|
||||
'\'key: value\' pairs. Your approach will work until Salt '
|
||||
'Carbon is out.{1}'.format(
|
||||
'Oxygen is out.{1}'.format(
|
||||
msg,
|
||||
'' if 'full' not in ret else ' Please update your state files.'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user