aboutsummaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
Diffstat (limited to 'testcases')
-rw-r--r--testcases/testcase.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/testcases/testcase.py b/testcases/testcase.py
index 7f4ad9ac..13ada1cc 100644
--- a/testcases/testcase.py
+++ b/testcases/testcase.py
@@ -204,8 +204,7 @@ class TestCase(object):
# If running in k8s mode.
# This value is set in main vsperf file
- self._k8s = S.getValue('K8S')
- if self._k8s:
+ if S.getValue('K8S'):
if S.getValue('EXT_VSWITCH'):
self._evfctl = extvswitchflctl.ExtVswitchFlowCtl()