summaryrefslogtreecommitdiff
path: root/openstackclient/compute/v2/hypervisor_stats.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/compute/v2/hypervisor_stats.py')
-rw-r--r--openstackclient/compute/v2/hypervisor_stats.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/openstackclient/compute/v2/hypervisor_stats.py b/openstackclient/compute/v2/hypervisor_stats.py
index 43ba9fc8..290f5418 100644
--- a/openstackclient/compute/v2/hypervisor_stats.py
+++ b/openstackclient/compute/v2/hypervisor_stats.py
@@ -14,19 +14,15 @@
"""Hypervisor Stats action implementations"""
-import logging
import six
-from cliff import show
+from openstackclient.common import command
-class ShowHypervisorStats(show.ShowOne):
+class ShowHypervisorStats(command.ShowOne):
"""Display hypervisor stats details"""
- log = logging.getLogger(__name__ + ".ShowHypervisorStats")
-
def take_action(self, parsed_args):
- self.log.debug("take_action(%s)", parsed_args)
compute_client = self.app.client_manager.compute
hypervisor_stats = compute_client.hypervisors.statistics().to_dict()