Skip to content

Commit

Permalink
Merge branch 'enable-disable-HV-action' of github.com:stfc/st2-cloud-…
Browse files Browse the repository at this point in the history
…pack into enable-disable-HV-action
  • Loading branch information
Dmitry-Popovichev committed Dec 12, 2024
2 parents 6bf8e6a + 01fbc25 commit 582898e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/openstack_api/openstack_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def disable_service(
Disables an Openstack service
:param conn: Openstack connection
:param service: The instance of the service class.
:param hypervisor_name: (str): The name or ID of the hypervisor.
:param hypervisor_name: The name or ID of the hypervisor.
:param service_binary: The name of the service.
:param disabled_reason: The reason for disabling the service.
"""
Expand All @@ -39,7 +39,7 @@ def enable_service(
Enables an Openstack service
:param conn: Openstack connection
:param service: The instance of the service class.
:param hypervisor_name: (str): The name or ID of the hypervisor.
:param hypervisor_name: The name or ID of the hypervisor.
:param service_binary: The name of the service.
"""

Expand Down
4 changes: 2 additions & 2 deletions lib/workflows/hv_service_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def hv_service_disable(
"""
Disables an Openstack service
:param conn: Openstack connection
:param hypervisor_name: (str): The name or ID of the hypervisor.
:param hypervisor_name: The name or ID of the hypervisor.
:param service_binary: The name of the service.
:param disabled_reason: The reason for disabling the service.
"""
Expand All @@ -31,7 +31,7 @@ def hv_service_enable(
"""
Enables an Openstack service
:param conn: Openstack connection
:param hypervisor_name: (str): The name or ID of the hypervisor.
:param hypervisor_name: The name or ID of the hypervisor.
:param service_binary: The name of the service.
"""

Expand Down

0 comments on commit 582898e

Please sign in to comment.