service: deprecate state=running (#21499)

* service: deprecate state=running

* deprecated with version 2.7
pull/21675/head
René Moser 8 years ago committed by Brian Coca
parent a80251ff02
commit 576ff0728d

@ -68,6 +68,7 @@ class ActionModule(ActionBase):
# for backwards compatibility
if 'state' in new_module_args and new_module_args['state'] == 'running':
self._display.deprecated(msg="state=running is deprecated. Please use state=started", version="2.7")
new_module_args['state'] = 'started'
if module in self.UNUSED_PARAMS:

Loading…
Cancel
Save