builtin/providers/heroku: vet fix

Fixes the following vet reports:

builtin/providers/heroku/resource_heroku_app.go:192: arg vs for printf verb %s of wrong type: bool
builtin/providers/heroku/resource_heroku_app.go:198: arg vs for printf verb %s of wrong type: bool
This commit is contained in:
Emil Hessman 2014-12-17 12:58:12 +01:00
parent 4f3f85b165
commit 7b704fb77d
1 changed files with 2 additions and 2 deletions

View File

@ -189,13 +189,13 @@ func resourceHerokuOrgAppCreate(d *schema.ResourceData, meta interface{}) error
if v := d.Get("organization.0.personal"); v != nil {
vs := v.(bool)
log.Printf("[DEBUG] Organization Personal: %s", vs)
log.Printf("[DEBUG] Organization Personal: %t", vs)
opts.Personal = &vs
}
if v := d.Get("organization.0.locked"); v != nil {
vs := v.(bool)
log.Printf("[DEBUG] Organization locked: %s", vs)
log.Printf("[DEBUG] Organization locked: %t", vs)
opts.Locked = &vs
}