Skip to content

Commit

Permalink
fix(system_user_group): Fix policy validator
Browse files Browse the repository at this point in the history
  • Loading branch information
vaerh committed Aug 28, 2024
1 parent 9c910f1 commit 6a0a0bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routeros/resource_system_user_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func ResourceUserGroup() *schema.Resource {
Optional: true,
Elem: &schema.Schema{
Type: schema.TypeString,
ValidateDiagFunc: ValidationMultiValInSlice([]string{
ValidateDiagFunc: ValidationValInSlice([]string{
"api", "dude", "ftp", "local", "password", "policy", "read", "reboot", "rest-api", "romon", "sensitive", "sniff",
"ssh", "telnet", "test", "tikapp", "web", "winbox", "write",
}, false, true),
Expand Down

0 comments on commit 6a0a0bd

Please sign in to comment.