File tree Expand file tree Collapse file tree
openstackclient/compute/v2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -196,20 +196,3 @@ def take_action(self, parsed_args):
196196 float ("%.2f" % usage .total_local_gb_usage )
197197 if hasattr (usage , "total_local_gb_usage" ) else None )
198198 return zip (* sorted (six .iteritems (info )))
199-
200-
201- # This is out of order due to the subclass, will eventually be removed
202-
203- class ListProjectUsage (ListUsage ):
204- """List resource usage per project"""
205-
206- deprecated = True
207-
208- log = logging .getLogger ('DEPRECATED:' )
209-
210- def take_action (self , parsed_args ):
211- self .log .warning (
212- "%s is deprecated, use 'usage list'" ,
213- getattr (self , 'cmd_name' , 'this command' ),
214- )
215- return super (ListProjectUsage , self ).take_action (parsed_args )
Original file line number Diff line number Diff line change @@ -104,8 +104,6 @@ openstack.compute.v2 =
104104 keypair_list = openstackclient.compute.v2.keypair:ListKeypair
105105 keypair_show = openstackclient.compute.v2.keypair:ShowKeypair
106106
107- project_usage_list = openstackclient.compute.v2.usage:ListProjectUsage
108-
109107 security_group_create = openstackclient.compute.v2.security_group:CreateSecurityGroup
110108 security_group_delete = openstackclient.compute.v2.security_group:DeleteSecurityGroup
111109 security_group_list = openstackclient.compute.v2.security_group:ListSecurityGroup
You can’t perform that action at this time.
0 commit comments