File tree Expand file tree Collapse file tree
openstackclient/volume/v3 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,30 +25,21 @@ class ListService(service_v2.ListService):
2525 def take_action (self , parsed_args ):
2626 service_client = self .app .client_manager .volume
2727
28- if parsed_args .long :
29- columns = [
30- "Binary" ,
31- "Host" ,
32- "Zone" ,
33- "Status" ,
34- "State" ,
35- "Updated At" ,
36- "Disabled Reason" ,
37- ]
38- else :
39- columns = [
40- "Binary" ,
41- "Host" ,
42- "Zone" ,
43- "Status" ,
44- "State" ,
45- "Updated At" ,
46- ]
28+ columns = [
29+ "Binary" ,
30+ "Host" ,
31+ "Zone" ,
32+ "Status" ,
33+ "State" ,
34+ "Updated At" ,
35+ ]
4736
4837 if service_client .api_version >= api_versions .APIVersion ('3.7' ):
4938 columns .append ("Cluster" )
5039 if service_client .api_version >= api_versions .APIVersion ('3.49' ):
5140 columns .append ("Backend State" )
41+ if parsed_args .long :
42+ columns .append ("Disabled Reason" )
5243
5344 data = service_client .services .list (
5445 parsed_args .host , parsed_args .service
You can’t perform that action at this time.
0 commit comments