From 6f9fdf5d8435e2b7954464365f90bb6a43b4a447 Mon Sep 17 00:00:00 2001 From: Robert Schmidt <robert.schmidt@openairinterface.org> Date: Tue, 6 Dec 2022 11:31:58 +0100 Subject: [PATCH] CI: Use correct IPAddress variable for log collection --- ci-scripts/cls_oaicitest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci-scripts/cls_oaicitest.py b/ci-scripts/cls_oaicitest.py index 23058770f95..dbf720cf64f 100644 --- a/ci-scripts/cls_oaicitest.py +++ b/ci-scripts/cls_oaicitest.py @@ -3669,7 +3669,7 @@ class OaiCiTest(): def LogCollectPing(self,EPC): # Some pipelines are using "none" IP / Credentials # In that case, just forget about it - if self.IPAddress == 'none': + if EPC.IPAddress == 'none': sys.exit(0) SSH = sshconnection.SSHConnection() SSH.open(EPC.IPAddress, EPC.UserName, EPC.Password) @@ -3683,7 +3683,7 @@ class OaiCiTest(): def LogCollectIperf(self,EPC): # Some pipelines are using "none" IP / Credentials # In that case, just forget about it - if self.IPAddress == 'none': + if EPC.IPAddress == 'none': sys.exit(0) SSH = sshconnection.SSHConnection() SSH.open(EPC.IPAddress, EPC.UserName, EPC.Password) -- GitLab