Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: minor code enhancement #690

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions chaoslib/litmus/k6-loadgen/lib/k6-loadgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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)")
Expand Down Expand Up @@ -121,7 +121,7 @@ func createHelperPod(experimentsDetails *experimentTypes.ExperimentDetails, clie
VolumeMounts: []corev1.VolumeMount{
{
Name: volumeName,
MountPath: "/mnt",
MountPath: mountPath,
},
},
},
Expand Down
Loading