Skip to content

Commit

Permalink
fix prefix length bug for data source cluster/s and network security …
Browse files Browse the repository at this point in the history
…policies
  • Loading branch information
Haroon-Dweikat-Ntx committed Jan 28, 2025
1 parent fff432c commit 67bb7ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ func DatasourceNutanixClusterEntityV2() *schema.Resource {
Computed: true,
},
"prefix_length": {
Type: schema.TypeString,
Type: schema.TypeInt,
Computed: true,
},
},
Expand All @@ -332,7 +332,7 @@ func DatasourceNutanixClusterEntityV2() *schema.Resource {
Computed: true,
},
"prefix_length": {
Type: schema.TypeString,
Type: schema.TypeInt,
Computed: true,
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func DataSourceNutanixNetworkSecurityPoliciesV2() *schema.Resource {
Computed: true,
},
"prefix_length": {
Type: schema.TypeString,
Type: schema.TypeInt,
Computed: true,
},
},
Expand All @@ -166,7 +166,7 @@ func DataSourceNutanixNetworkSecurityPoliciesV2() *schema.Resource {
Computed: true,
},
"prefix_length": {
Type: schema.TypeString,
Type: schema.TypeInt,
Computed: true,
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func ResourceNutanixNetworkSecurityPolicyV2() *schema.Resource {
Computed: true,
},
"prefix_length": {
Type: schema.TypeString,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
Expand All @@ -161,7 +161,7 @@ func ResourceNutanixNetworkSecurityPolicyV2() *schema.Resource {
Computed: true,
},
"prefix_length": {
Type: schema.TypeString,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
Expand Down

0 comments on commit 67bb7ed

Please sign in to comment.