parent
fddccea940
commit
ab0959480e
|
@ -0,0 +1,4 @@
|
||||||
|
minor_changes:
|
||||||
|
- redfish_utils module utils - remove redundant code (https://github.com/ansible-collections/community.general/pull/9190).
|
||||||
|
deprecated_features:
|
||||||
|
- redfish_utils module utils - deprecate method ``RedfishUtils._init_session()`` (https://github.com/ansible-collections/community.general/pull/9190).
|
|
@ -55,7 +55,6 @@ class RedfishUtils(object):
|
||||||
self.strip_etag_quotes = strip_etag_quotes
|
self.strip_etag_quotes = strip_etag_quotes
|
||||||
self.ciphers = ciphers
|
self.ciphers = ciphers
|
||||||
self._vendor = None
|
self._vendor = None
|
||||||
self._init_session()
|
|
||||||
|
|
||||||
def _auth_params(self, headers):
|
def _auth_params(self, headers):
|
||||||
"""
|
"""
|
||||||
|
@ -411,7 +410,7 @@ class RedfishUtils(object):
|
||||||
return msg, data
|
return msg, data
|
||||||
|
|
||||||
def _init_session(self):
|
def _init_session(self):
|
||||||
pass
|
self.module.deprecate("Method _init_session is deprecated and will be removed.", version="11.0.0", collection_name="community.general")
|
||||||
|
|
||||||
def _get_vendor(self):
|
def _get_vendor(self):
|
||||||
# If we got the vendor info once, don't get it again
|
# If we got the vendor info once, don't get it again
|
||||||
|
|
Loading…
Reference in New Issue