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:
parent
4f3f85b165
commit
7b704fb77d
|
@ -189,13 +189,13 @@ func resourceHerokuOrgAppCreate(d *schema.ResourceData, meta interface{}) error
|
||||||
|
|
||||||
if v := d.Get("organization.0.personal"); v != nil {
|
if v := d.Get("organization.0.personal"); v != nil {
|
||||||
vs := v.(bool)
|
vs := v.(bool)
|
||||||
log.Printf("[DEBUG] Organization Personal: %s", vs)
|
log.Printf("[DEBUG] Organization Personal: %t", vs)
|
||||||
opts.Personal = &vs
|
opts.Personal = &vs
|
||||||
}
|
}
|
||||||
|
|
||||||
if v := d.Get("organization.0.locked"); v != nil {
|
if v := d.Get("organization.0.locked"); v != nil {
|
||||||
vs := v.(bool)
|
vs := v.(bool)
|
||||||
log.Printf("[DEBUG] Organization locked: %s", vs)
|
log.Printf("[DEBUG] Organization locked: %t", vs)
|
||||||
opts.Locked = &vs
|
opts.Locked = &vs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue