Skip to content

Commit

Permalink
use BoolTFlag for purge flag
Browse files Browse the repository at this point in the history
  • Loading branch information
bradrydzewski committed Nov 9, 2017
1 parent 224a31a commit c2b4c08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/drone-docker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func main() {
func run(c *cli.Context) error {
plugin := docker.Plugin{
Dryrun: c.Bool("dry-run"),
Cleanup: c.Bool("purge"),
Cleanup: c.BoolTFlag("docker.purge"),
Login: docker.Login{
Registry: c.String("docker.registry"),
Username: c.String("docker.username"),
Expand Down

0 comments on commit c2b4c08

Please sign in to comment.