mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-05-07 05:43:15 +00:00
Fixed return value disable{d,s}_reason in compute_service_info module
OpenStack SDK 0.53 renamed parameter disables_reason to disabled_reason in openstack/compute/v2/service.py, hence our compute_service_info module will return different values depending on which release of the OpenStack SDK is used. Ref.:5450c45253Change-Id: I1c0f787f7f67c92f92dd106fc8d55580461e4aa3 (cherry picked from commitcf5007d478)
This commit is contained in:
@@ -61,7 +61,11 @@ openstack_compute_services:
|
||||
type: str
|
||||
disabled_reason:
|
||||
description: The reason why the service is disabled
|
||||
returned: success
|
||||
returned: success and OpenStack SDK >= 0.53
|
||||
type: str
|
||||
disables_reason:
|
||||
description: The reason why the service is disabled
|
||||
returned: success and OpenStack SDK < 0.53
|
||||
type: str
|
||||
availability_zone:
|
||||
description: The availability zone name.
|
||||
|
||||
Reference in New Issue
Block a user