Remove redundent deprecation warning
Warn about with_retries deprecation only when actually used Change-Id: If197c3c9fd719311de9e548fc2b318319598c1ba
This commit is contained in:
parent
7e72c3a13d
commit
1f422dbcbc
|
@ -358,7 +358,7 @@ class NSX3Client(JSONRESTClient):
|
|||
status_code=status_code)
|
||||
|
||||
def _rest_call(self, url, **kwargs):
|
||||
if kwargs.get('with_retries', True):
|
||||
if 'with_retries' in kwargs and kwargs['with_retries']:
|
||||
LOG.warning("with_retries setting is deprecated and will be "
|
||||
"removed. Please use exceptions setting in nsxlib "
|
||||
"config instead")
|
||||
|
|
Loading…
Reference in New Issue