Skip to content

Commit

Permalink
Fix service command switch fallthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksanders committed Mar 26, 2021
1 parent 27dcdd3 commit 091fc70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ func (p *program) run() {
exitCode := 0
args := viper.GetStringSlice("service.args")
switch command := viper.GetString("service.command"); command {
case "serve":
case "ecs_credential_provider":
case "metadata":
fallthrough
case "serve":
err := runWeepServer(nil, args)
if err != nil {
log.Error(err)
Expand Down

0 comments on commit 091fc70

Please sign in to comment.