Skip to content

Commit

Permalink
fix: validation for routeros_wifi_security.wps
Browse files Browse the repository at this point in the history
  • Loading branch information
pushkar-anand committed Oct 6, 2024
1 parent 085896e commit 8426755
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 8426755

Please sign in to comment.