Skip to content

Commit

Permalink
Remove unused benchmark flag (#88)
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <[email protected]>
  • Loading branch information
rsevilla87 authored Jul 18, 2024
1 parent 08c43c0 commit 6d390e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom-workload.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
func CustomWorkload(wh *workloads.WorkloadHelper) *cobra.Command {
var churn, namespacedIterations, svcLatency bool
var churnDelay, churnDuration, podReadyThreshold time.Duration
var configFile, benchmarkName, churnDeletionStrategy string
var configFile, churnDeletionStrategy string
var iterations, churnPercent, churnCycles, iterationsPerNamespace, podsPerNode int
cmd := &cobra.Command{
Use: "init",
Expand Down Expand Up @@ -71,7 +71,6 @@ func CustomWorkload(wh *workloads.WorkloadHelper) *cobra.Command {
},
}
cmd.Flags().StringVarP(&configFile, "config", "c", "", "Config file path or url")
cmd.Flags().StringVarP(&benchmarkName, "benchmark", "b", "custom-workload", "Name of the benchmark")
cmd.Flags().BoolVar(&churn, "churn", true, "Enable churning")
cmd.Flags().IntVar(&churnCycles, "churn-cycles", 0, "Churn cycles to execute")
cmd.Flags().DurationVar(&churnDelay, "churn-delay", 2*time.Minute, "Time to wait between each churn")
Expand Down

0 comments on commit 6d390e1

Please sign in to comment.