summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2024-08-22 09:35:59 +0200
committerDave Wallace <dwallacelf@gmail.com>2024-08-22 11:40:10 +0000
commit56f5bd99850a4068aed6f1b5b02e6b872a455edc (patch)
treef002abfb985d2504f0f2af5c92185ff99b975755 /extras
parent8629336fa502b5859ed46bcc1976c824470092b3 (diff)
hs-test: fix after merge
Type: test Change-Id: I2a1d35a9e7a6c8e8026388a0baacbc18310f0ba1 Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'extras')
-rw-r--r--extras/hs-test/infra/utils.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/hs-test/infra/utils.go b/extras/hs-test/infra/utils.go
index 3df83f32508..9dd2dbd73c8 100644
--- a/extras/hs-test/infra/utils.go
+++ b/extras/hs-test/infra/utils.go
@@ -156,7 +156,7 @@ where LogPrefix is set to nginxContainer.Name
*/
func (s *HstSuite) CollectNginxLogs(containerName string) {
nginxContainer := s.GetContainerByName(containerName)
- targetDir := nginxContainer.getLogDirPath()
+ targetDir := nginxContainer.Suite.getLogDirPath()
source := nginxContainer.GetHostWorkDir() + "/" + nginxContainer.Name + "-"
cmd := exec.Command("cp", "-t", targetDir, source+"error.log", source+"access.log")
s.Log(cmd.String())
@@ -174,7 +174,7 @@ where LogPrefix is set to envoyContainer.Name
*/
func (s *HstSuite) CollectEnvoyLogs(containerName string) {
envoyContainer := s.GetContainerByName(containerName)
- targetDir := envoyContainer.getLogDirPath()
+ targetDir := envoyContainer.Suite.getLogDirPath()
source := envoyContainer.GetHostWorkDir() + "/" + envoyContainer.Name + "-"
cmd := exec.Command("cp", "-t", targetDir, source+"access.log")
s.Log(cmd.String())