summaryrefslogtreecommitdiff
path: root/openstackclient/compute/v2/security_group.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-09-11 02:43:53 +0000
committerGerrit Code Review <review@openstack.org>2015-09-11 02:43:54 +0000
commit0daa0969392dce50266d8dcac31a68d2ba02602f (patch)
treeb064e34392225d0ab144765784f4f171b8760429 /openstackclient/compute/v2/security_group.py
parentfa4b11a86f05cbf3b542a795267490a65d477b0e (diff)
parente3c46ece4a496584a54b9d39b55921990db4a7b3 (diff)
downloadpython-openstackclient-0daa0969392dce50266d8dcac31a68d2ba02602f.tar.gz
Merge "Use a common decorator to log 'take_action' activation"
Diffstat (limited to 'openstackclient/compute/v2/security_group.py')
-rw-r--r--openstackclient/compute/v2/security_group.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/openstackclient/compute/v2/security_group.py b/openstackclient/compute/v2/security_group.py
index 25c2ed3f..3dd0c49b 100644
--- a/openstackclient/compute/v2/security_group.py
+++ b/openstackclient/compute/v2/security_group.py
@@ -107,8 +107,8 @@ class DeleteSecurityGroup(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
data = utils.find_resource(
@@ -199,8 +199,8 @@ class SetSecurityGroup(show.ShowOne):
)
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
data = utils.find_resource(
@@ -240,8 +240,8 @@ class ShowSecurityGroup(show.ShowOne):
)
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
info = {}
@@ -337,8 +337,8 @@ class DeleteSecurityGroupRule(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
compute_client.security_group_rules.delete(parsed_args.rule)