[Trivial] Remove redundant call to str
In [1], we changed type of CONF.manila.api_version from IntOpt to StrOpt (for microversion support). Now, there is redundant conversion to str. [1] https://review.openstack.org/#/c/434089/ Change-Id: I4bab4ba9f7144441b51a3194cc0170b738ea1078
This commit is contained in:
parent
dd431ebdeb
commit
2f9a9c5d47
|
@ -59,7 +59,7 @@ def client():
|
|||
'ca_cert': CONF.manila.ca_file,
|
||||
'insecure': CONF.manila.api_insecure
|
||||
}
|
||||
return manila_client.Client(str(CONF.manila.api_version), **args)
|
||||
return manila_client.Client(CONF.manila.api_version, **args)
|
||||
|
||||
|
||||
def get_share(client_instance, share_id, raise_on_error=False):
|
||||
|
|
Loading…
Reference in New Issue