Skip to content

Commit

Permalink
remove default value
Browse files Browse the repository at this point in the history
Signed-off-by: Laureat Grepi <[email protected]>
  • Loading branch information
Laureat Grepi authored and Laureat Grepi committed Nov 18, 2024
1 parent 931ab67 commit 2cf478a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion keycloak/realm_user_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type RealmUserProfileAttribute struct {
Required *RealmUserProfileRequired `json:"required,omitempty"`
Selector *RealmUserProfileSelector `json:"selector,omitempty"`
Validations map[string]RealmUserProfileValidationConfig `json:"validations,omitempty"`
Multivalued bool `json:"multivalued"`
Multivalued bool `json:"multivalued,omitempty"`
}

type RealmUserProfileGroup struct {
Expand Down
1 change: 0 additions & 1 deletion provider/resource_keycloak_realm_user_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ func resourceKeycloakRealmUserProfile() *schema.Resource {
"multivalued": {
Type: schema.TypeBool,
Optional: true,
Default: false,
},
"enabled_when_scope": {
Type: schema.TypeSet,
Expand Down
1 change: 0 additions & 1 deletion provider/resource_keycloak_realm_user_profile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ func TestAccKeycloakRealmUserProfile_basicFull(t *testing.T) {
"foo": "\"bar\"",
"inputOptionLabels": "{\"a\":\"b\"}",
},
Multivalued: true,
},
},
Groups: []*keycloak.RealmUserProfileGroup{
Expand Down

0 comments on commit 2cf478a

Please sign in to comment.