Skip to content

Commit

Permalink
update parameter label
Browse files Browse the repository at this point in the history
  • Loading branch information
topahadzi committed Dec 8, 2023
1 parent 773c6d3 commit d190194
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions bin/helper/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ import (
// _ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
// _ "k8s.io/client-go/plugin/pkg/client/auth/openstack"

containerKill "github.com/litmuschaos/litmus-go/chaoslib/litmus/container-kill/helper"
diskFill "github.com/litmuschaos/litmus-go/chaoslib/litmus/disk-fill/helper"
httpChaos "github.com/litmuschaos/litmus-go/chaoslib/litmus/http-chaos/helper"
networkChaos "github.com/litmuschaos/litmus-go/chaoslib/litmus/network-chaos/helper"
dnsChaos "github.com/litmuschaos/litmus-go/chaoslib/litmus/pod-dns-chaos/helper"
stressChaos "github.com/litmuschaos/litmus-go/chaoslib/litmus/stress-chaos/helper"

"github.com/litmuschaos/litmus-go/pkg/clients"
"github.com/litmuschaos/litmus-go/pkg/log"
Expand Down Expand Up @@ -49,18 +43,6 @@ func main() {

// invoke the corresponding helper based on the the (-name) flag
switch *helperName {
case "container-kill":
containerKill.Helper(clients)
case "disk-fill":
diskFill.Helper(clients)
case "dns-chaos":
dnsChaos.Helper(clients)
case "stress-chaos":
stressChaos.Helper(clients)
case "network-chaos":
networkChaos.Helper(clients)
case "http-chaos":
httpChaos.Helper(clients)

default:
log.Errorf("Unsupported -name %v, please provide the correct value of -name args", *helperName)
Expand Down

0 comments on commit d190194

Please sign in to comment.