CI: Use correct IPAddress variable for log collection

This commit is contained in:
Robert Schmidt
2022-12-06 11:31:58 +01:00
parent f7c3874e20
commit 6f9fdf5d84
+2 -2
View File
@@ -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)