Skip to content

Commit

Permalink
fix: validation for routeros_wifi_security.wps (#578)
Browse files Browse the repository at this point in the history
  • Loading branch information
pushkar-anand authored Oct 7, 2024
1 parent e0b34ae commit 770bfe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routeros/resource_wifi_security.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func ResourceWifiSecurity() *schema.Resource {
Type: schema.TypeString,
Optional: true,
Description: "An option to enable WPS (Wi-Fi Protected Setup).",
ValidateFunc: validation.StringInSlice([]string{"disabled", "push-button"}, false),
ValidateFunc: validation.StringInSlice([]string{"disable", "push-button"}, false),
},
}

Expand Down

0 comments on commit 770bfe3

Please sign in to comment.