mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Use %t
for boolean value
This commit is contained in:
parent
707fe3ac6d
commit
47d2b29895
@ -105,7 +105,7 @@ func resourceAwsS3Bucket() *schema.Resource {
|
||||
Set: func(v interface{}) int {
|
||||
var buf bytes.Buffer
|
||||
m := v.(map[string]interface{})
|
||||
buf.WriteString(fmt.Sprintf("%d-", m["enabled"].(bool)))
|
||||
buf.WriteString(fmt.Sprintf("%t-", m["enabled"].(bool)))
|
||||
|
||||
return hashcode.String(buf.String())
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user