Skip to content

Commit

Permalink
Fix 'panic: interface conversion: interface {} is []string, not *sche…
Browse files Browse the repository at this point in the history
…ma.Set'.
  • Loading branch information
ewbankkit committed Jan 8, 2024
1 parent b175416 commit 7f24e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/mq/broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ func resourceUserHash(v interface{}) int {
buf.WriteString("false-")
}
if g, ok := m["groups"]; ok {
buf.WriteString(fmt.Sprintf("%v-", g.(*schema.Set).List()))
buf.WriteString(fmt.Sprintf("%v-", g.([]string)))
}
if p, ok := m["password"]; ok {
buf.WriteString(fmt.Sprintf("%s-", p.(string)))
Expand Down

0 comments on commit 7f24e55

Please sign in to comment.