Style nit
This commit is contained in:
parent
bfc2a2d42f
commit
db5d7b0438
|
@ -225,10 +225,10 @@ func resourcePostgreSQLDatabaseCreate(d *schema.ResourceData, meta interface{})
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, opt := range boolOpts {
|
for _, opt := range boolOpts {
|
||||||
v := d.Get(opt.hclKey)
|
val := d.Get(opt.hclKey).(bool)
|
||||||
|
|
||||||
valStr := "FALSE"
|
valStr := "FALSE"
|
||||||
if val := v.(bool); val {
|
if val {
|
||||||
valStr = "TRUE"
|
valStr = "TRUE"
|
||||||
}
|
}
|
||||||
createOpts = append(createOpts, fmt.Sprintf("%s=%s", opt.sqlKey, valStr))
|
createOpts = append(createOpts, fmt.Sprintf("%s=%s", opt.sqlKey, valStr))
|
||||||
|
|
Loading…
Reference in New Issue