Skip to content

Commit

Permalink
Allow multiple switches per node
Browse files Browse the repository at this point in the history
This limitation doesn't exist in NSX and therefore we can remove
MaxItems: 1

Signed-off-by: Kobi Samoray <[email protected]>
  • Loading branch information
ksamoray committed Nov 8, 2023
1 parent d7b914e commit d5220db
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions nsxt/resource_nsxt_transport_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,6 @@ func getPublicCloudGatewayNodeSchema() *schema.Schema {
func getPreconfiguredHostSwitchSchema() *schema.Schema {
return &schema.Schema{
Type: schema.TypeList,
MaxItems: 1,
Optional: true,
Description: "Preconfigured host switch",
Elem: &schema.Resource{
Expand All @@ -582,7 +581,6 @@ func getPreconfiguredHostSwitchSchema() *schema.Schema {
func getStandardHostSwitchSchema() *schema.Schema {
return &schema.Schema{
Type: schema.TypeList,
MaxItems: 1,
Optional: true,
Description: "Standard host switch specification",
ExactlyOneOf: []string{
Expand Down

0 comments on commit d5220db

Please sign in to comment.