diff --git a/ci-scripts/cls_oaicitest.py b/ci-scripts/cls_oaicitest.py index 23058770f9579b2b7fe670eccb8937b961224324..dbf720cf64fae64e109f87bfecc515501c21a6c3 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)