mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Renamed Wheel to WheelClient; added backward-compat alias
This commit is contained in:
parent
09cbaa188d
commit
288311f732
@ -16,7 +16,7 @@ import salt.exceptions
|
||||
from salt.utils.error import raise_error
|
||||
|
||||
|
||||
class Wheel(object):
|
||||
class WheelClient(object):
|
||||
'''
|
||||
``WheelClient`` is an interface to Salt's :ref:`wheel modules
|
||||
<all-salt.wheel>`. Wheel modules interact with various parts of the Salt
|
||||
@ -72,3 +72,5 @@ class Wheel(object):
|
||||
if 'error' in ret:
|
||||
raise_error(**ret['error'])
|
||||
return ret
|
||||
|
||||
Wheel = WheelClient # for backward-compat
|
||||
|
Loading…
Reference in New Issue
Block a user