summaryrefslogtreecommitdiff
path: root/openstackclient/compute/v2
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/compute/v2')
-rw-r--r--openstackclient/compute/v2/service.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/openstackclient/compute/v2/service.py b/openstackclient/compute/v2/service.py
index 625c0fad..6427e548 100644
--- a/openstackclient/compute/v2/service.py
+++ b/openstackclient/compute/v2/service.py
@@ -103,6 +103,10 @@ class ListService(command.Lister):
"Updated At",
"Disabled Reason"
)
+ has_forced_down = (
+ compute_client.api_version >= api_versions.APIVersion('2.11'))
+ if has_forced_down:
+ columns += ("Forced Down",)
else:
columns = (
"ID",