aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2020-03-10 08:16:44 +0100
committerJan Gelety <jgelety@cisco.com>2020-03-11 13:40:59 +0000
commitd32590895c3fcc0f1e2e1c00acadf7fc48b3b349 (patch)
tree7e65139565cfdcf0582dc7f1d6217314f8b626df
parent3d1f8c8b6f73e5ec7dede17b196be830fbd2dbe6 (diff)
FIX: typo in VppCounters.py
Change-Id: I4b5955af9732dd3ef185a618ffcf939d0a05ac17 Signed-off-by: Jan Gelety <jgelety@cisco.com> (cherry picked from commit b06f59a307949de30a76cec3eec368aa0f7c4a06)
-rw-r--r--resources/libraries/python/VppCounters.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/libraries/python/VppCounters.py b/resources/libraries/python/VppCounters.py
index 4f62b60041..054900f31f 100644
--- a/resources/libraries/python/VppCounters.py
+++ b/resources/libraries/python/VppCounters.py
@@ -206,7 +206,7 @@ class VppCounters:
VppCounters.vpp_clear_hardware(node)
@staticmethod
- def vpp_clears_errors(node):
+ def vpp_clear_errors(node):
"""Run "clear errors" CLI command.
:param node: Node to run command on.
@@ -217,7 +217,7 @@ class VppCounters:
)
@staticmethod
- def vpp_clears_errors_on_all_duts(nodes):
+ def vpp_clear_errors_on_all_duts(nodes):
"""Clear VPP errors counters on all DUTs.
:param nodes: VPP nodes.
@@ -225,7 +225,7 @@ class VppCounters:
"""
for node in nodes.values():
if node[u"type"] == NodeType.DUT:
- VppCounters.vpp_clears_errors(node)
+ VppCounters.vpp_clear_errors(node)
@staticmethod
def show_vpp_statistics(node):