Skip to content

Commit

Permalink
Fix version and nova_api_version data types declared in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
freyes committed Aug 25, 2023
1 parent 1d42b64 commit 4491642
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zaza/openstack/configure/guest.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def launch_instance(instance_key, use_boot_volume=False, vm_name=None,
:param host: Requested host to create servers
:type host: str
:param nova_api_version: Nova API version to use
:type nova_api_version: str
:type nova_api_version: str | None
:returns: the created instance
:rtype: novaclient.Server
"""
Expand Down
2 changes: 1 addition & 1 deletion zaza/openstack/utilities/openstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def get_nova_session_client(session, version=None):
:param session: Keystone session object
:type session: keystoneauth1.session.Session object
:param version: Version of client to request.
:type version: float
:type version: float | str | None
:returns: Authenticated novaclient
:rtype: novaclient.Client object
"""
Expand Down

0 comments on commit 4491642

Please sign in to comment.