fix drone secret add

This commit is contained in:
Brad Rydzewski 2017-04-18 09:41:02 +02:00
parent 66b2c1e4cf
commit 9cc0189f01

View file

@ -55,7 +55,7 @@ func secretCreate(c *cli.Context) error {
if len(secret.Events) == 0 {
secret.Events = defaultSecretEvents
}
_, err = client.SecretUpdate(owner, name, secret)
_, err = client.SecretCreate(owner, name, secret)
return err
}