Skip to content

Commit

Permalink
SLK-73211 - Change split separator for role mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Adi Shaull committed Dec 18, 2023
1 parent e72c4ad commit 35d6495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aquasec/resource_sso.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ func convertRoleMapping(m map[string]interface{}) map[string][]string {

if len(m["role_mapping"].(map[string]interface{})) > 0 {
for key, element := range m["role_mapping"].(map[string]interface{}) {
elementArry := strings.Split(element.(string), ",")
elementArry := strings.Split(element.(string), "|")
roleMapping[key] = elementArry
}
}
Expand Down

0 comments on commit 35d6495

Please sign in to comment.