From af8863df95ad6b6409fe382e85fd7512ee82cb46 Mon Sep 17 00:00:00 2001 From: namkyu1999 Date: Fri, 8 Mar 2024 16:28:19 +0900 Subject: [PATCH] chore: fix typos Signed-off-by: namkyu1999 --- chaoslib/litmus/k6-loadgen/lib/k6-loadgen.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chaoslib/litmus/k6-loadgen/lib/k6-loadgen.go b/chaoslib/litmus/k6-loadgen/lib/k6-loadgen.go index ef1e794bb..aa33f4528 100644 --- a/chaoslib/litmus/k6-loadgen/lib/k6-loadgen.go +++ b/chaoslib/litmus/k6-loadgen/lib/k6-loadgen.go @@ -6,7 +6,7 @@ import ( "strconv" "github.com/litmuschaos/litmus-go/pkg/cerrors" - clients "github.com/litmuschaos/litmus-go/pkg/clients" + "github.com/litmuschaos/litmus-go/pkg/clients" "github.com/litmuschaos/litmus-go/pkg/events" experimentTypes "github.com/litmuschaos/litmus-go/pkg/load/k6-loadgen/types" "github.com/litmuschaos/litmus-go/pkg/log" @@ -58,7 +58,7 @@ func experimentExecution(experimentsDetails *experimentTypes.ExperimentDetails, return common.HelperFailedError(err, appLabel, experimentsDetails.ChaosNamespace, true) } - //Deleting all the helper pod for container-kill chaos + //Deleting all the helper pod for k6-loadgen chaos log.Info("[Cleanup]: Deleting all the helper pods") if err = common.DeleteAllPod(appLabel, experimentsDetails.ChaosNamespace, chaosDetails.Timeout, chaosDetails.Delay, clients); err != nil { return stacktrace.Propagate(err, "could not delete helper pod(s)") @@ -121,7 +121,7 @@ func createHelperPod(experimentsDetails *experimentTypes.ExperimentDetails, clie VolumeMounts: []corev1.VolumeMount{ { Name: volumeName, - MountPath: "/mnt", + MountPath: mountPath, }, }, },