mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
vultr: rename prefix vr_to vultr_ (#43994)
* vultr: rename modules * replace string vr_ with vultr_ * add deprecation warning * fix sanity tests * add changelog
This commit is contained in:
@@ -30,6 +30,10 @@ def vultr_argument_spec():
|
||||
class Vultr:
|
||||
|
||||
def __init__(self, module, namespace):
|
||||
|
||||
if module._name.startswith('vr_'):
|
||||
module.deprecate("The Vultr modules were renamed. The prefix of the modules changed from vr_ to vultr_", version='2.11')
|
||||
|
||||
self.module = module
|
||||
|
||||
# Namespace use for returns
|
||||
|
||||
Reference in New Issue
Block a user