[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:
Jeremy Freudberg 2017-04-05 16:08:54 -04:00
parent dd431ebdeb
commit 2f9a9c5d47
1 changed files with 1 additions and 1 deletions

View File

@ -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):