diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-09-11 02:43:53 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-09-11 02:43:54 +0000 |
| commit | 0daa0969392dce50266d8dcac31a68d2ba02602f (patch) | |
| tree | b064e34392225d0ab144765784f4f171b8760429 /openstackclient/common/quota.py | |
| parent | fa4b11a86f05cbf3b542a795267490a65d477b0e (diff) | |
| parent | e3c46ece4a496584a54b9d39b55921990db4a7b3 (diff) | |
| download | python-openstackclient-0daa0969392dce50266d8dcac31a68d2ba02602f.tar.gz | |
Merge "Use a common decorator to log 'take_action' activation"
Diffstat (limited to 'openstackclient/common/quota.py')
| -rw-r--r-- | openstackclient/common/quota.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openstackclient/common/quota.py b/openstackclient/common/quota.py index e79fd7ed..65367e03 100644 --- a/openstackclient/common/quota.py +++ b/openstackclient/common/quota.py @@ -23,6 +23,8 @@ import sys from cliff import command from cliff import show +from openstackclient.common import utils + # List the quota items, map the internal argument name to the option # name that the user sees. @@ -89,8 +91,8 @@ class SetQuota(command.Command): ) return parser + @utils.log_method(log) def take_action(self, parsed_args): - self.log.debug('take_action(%s)', parsed_args) compute_client = self.app.client_manager.compute volume_client = self.app.client_manager.volume @@ -188,8 +190,8 @@ class ShowQuota(show.ShowOne): else: return {} + @utils.log_method(log) def take_action(self, parsed_args): - self.log.debug('take_action(%s)', parsed_args) compute_client = self.app.client_manager.compute volume_client = self.app.client_manager.volume |
