-
Notifications
You must be signed in to change notification settings - Fork 125
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: remove unused variables in the k6 chaos fault #725
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: namkyu1999 <[email protected]>
Signed-off-by: namkyu1999 <[email protected]>
@@ -63,8 +63,6 @@ func Experiment(ctx context.Context, clients clients.ClientSets) { | |||
|
|||
//DISPLAY THE APP INFORMATION | |||
log.InfoWithValues("[Info]: The application information is as follows", logrus.Fields{ | |||
"Namespace": experimentsDetails.AppNS, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can remove //PRE-CHAOS APPLICATION STATUS CHECK and //PRE-CHAOS APPLICATION STATUS CHECK as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -125,8 +124,6 @@ func createHelperPod(ctx context.Context, experimentsDetails *experimentTypes.Ex | |||
Args: []string{ | |||
mountPath + "/" + experimentsDetails.ScriptSecretKey, | |||
"-q", | |||
"--duration", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This duration field is not required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, we can specify duration on the k6 script (fyi: Order of Precedence)
What this PR does / why we need it:
duration
env because this value overrides script'sduration
(fyi: Order of Precedence)Checklist:
breaking-changes
tagrequires-upgrade
tag