Skip to content

Commit 1d52e28

Browse files
committed
Fix linter error
Signed-off-by: Anna Khmelnitsky <[email protected]>
1 parent bd9b804 commit 1d52e28

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 3.4.0 (October 26, 2023)
1+
## 3.4.0 (October 27, 2023)
22

33
FEATURES:
44
* Multitenancy support. Supported resources and data sources can now be created within a context of a project. In order to specify a project, use `context` block within resource or data source, and specify `project_id` within. For the full list of supported resources, please refer to [Multitenancy Guide](https://registry.terraform.io/providers/vmware/nsxt/latest/docs/guides/multitenancy).
@@ -9,7 +9,7 @@ As part of multitenancy support, project resource and data source are offered, a
99
* `resource/nsxt_policy_project`
1010

1111
BUG FIXES:
12-
* `resource/nsxt_policy_security_policy`, `resource/nsxt_policy_gateway_policy`: Validate correctness of sequence numbers only on policy creation, and skip this check on update, but rather auto-correct sequence numbers if needed. This is in order to avoid erroring out in case of incorrect sequence numbers that got assigned in previous provider version ([#1001](https://github.com/vmware/terraform-provider-nsxt/pull/1001))
12+
* `resource/nsxt_policy_security_policy`, `resource/nsxt_policy_gateway_policy`: Validate correctness of sequence numbers only on policy creation, and skip this check on update, but rather auto-correct sequence numbers if needed. This is in order to avoid erroring out in case of incorrect sequence numbers that got assigned with previous provider version ([#1001](https://github.com/vmware/terraform-provider-nsxt/pull/1001))
1313
* Escape all special characters in data sources, as required by search API. This fixes and issue with search by `display_name` that was not working as expected in case it contained some special characters ([#993](https://github.com/vmware/terraform-provider-nsxt/pull/993))
1414

1515
EXPERIMENTAL FEATURES:

nsxt/provider.go

-10
Original file line numberDiff line numberDiff line change
@@ -886,16 +886,6 @@ func applyLicense(connector client.Connector, licenseKey string) error {
886886
return nil
887887
}
888888

889-
func removeLicense(connector client.Connector, licenseKey string) error {
890-
client := nsx.NewLicensesClient(connector)
891-
err := client.Delete(licenseKey)
892-
if err != nil {
893-
return fmt.Errorf("error during license delete: %v", err)
894-
}
895-
896-
return nil
897-
}
898-
899889
// license keys are applied on terraform plan and are not removed
900890
func configureLicenses(connector client.Connector, intentLicenses []string) error {
901891
if len(intentLicenses) == 0 {

0 commit comments

Comments
 (0)