Skip to content

Commit

Permalink
fix secret update events
Browse files Browse the repository at this point in the history
  • Loading branch information
bradrydzewski committed May 22, 2017
1 parent c48e6cb commit e98a76f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drone/secret/secret_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func secretUpdate(c *cli.Context) error {
Name: c.String("name"),
Value: c.String("value"),
Images: c.StringSlice("image"),
Events: c.StringSlice("events"),
Events: c.StringSlice("event"),
}
if strings.HasPrefix(secret.Value, "@") {
path := strings.TrimPrefix(secret.Value, "@")
Expand Down

0 comments on commit e98a76f

Please sign in to comment.