From ab326bb09a03f780fc827e56af559418ddfa8006 Mon Sep 17 00:00:00 2001 From: hemanthKa677 Date: Mon, 19 Jun 2023 14:42:37 +0530 Subject: [PATCH 1/2] Updating dependencies for go-client changes --- go.mod | 2 +- go.sum | 4 ++-- .../infoblox-go-client/v2/object_manager_a-record.go | 2 +- vendor/modules.txt | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index e23743a20..eaf0aaead 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/google/uuid v1.3.0 github.com/hashicorp/terraform-plugin-log v0.7.0 github.com/hashicorp/terraform-plugin-sdk/v2 v2.4.3 - github.com/infobloxopen/infoblox-go-client/v2 v2.3.1-0.20230525121944-7aeeca0ab3b7 + github.com/infobloxopen/infoblox-go-client/v2 v2.3.1-0.20230612083744-3ef0d7777db0 github.com/sirupsen/logrus v1.8.0 ) diff --git a/go.sum b/go.sum index 053ea1d17..04a909630 100644 --- a/go.sum +++ b/go.sum @@ -201,8 +201,8 @@ github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpO github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/imdario/mergo v0.3.9 h1:UauaLniWCFHWd+Jp9oCEkTBj8VO/9DKg3PV3VCNMDIg= github.com/imdario/mergo v0.3.9/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/infobloxopen/infoblox-go-client/v2 v2.3.1-0.20230525121944-7aeeca0ab3b7 h1:3VFBeDEUKK4JFohYCIbhaSHgdOcpV33c/RFHtdhNCxY= -github.com/infobloxopen/infoblox-go-client/v2 v2.3.1-0.20230525121944-7aeeca0ab3b7/go.mod h1:ZR191VH7ccpUZ+dzjALQorTevLPv+1P9N62TGJ87ib0= +github.com/infobloxopen/infoblox-go-client/v2 v2.3.1-0.20230612083744-3ef0d7777db0 h1:g6fytbdP9DV4eN+8Mi1JXnT8F3oJTkupa+yS60lzHEk= +github.com/infobloxopen/infoblox-go-client/v2 v2.3.1-0.20230612083744-3ef0d7777db0/go.mod h1:ZR191VH7ccpUZ+dzjALQorTevLPv+1P9N62TGJ87ib0= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= diff --git a/vendor/github.com/infobloxopen/infoblox-go-client/v2/object_manager_a-record.go b/vendor/github.com/infobloxopen/infoblox-go-client/v2/object_manager_a-record.go index c62f831c2..a7ff36e5e 100644 --- a/vendor/github.com/infobloxopen/infoblox-go-client/v2/object_manager_a-record.go +++ b/vendor/github.com/infobloxopen/infoblox-go-client/v2/object_manager_a-record.go @@ -76,7 +76,7 @@ func (objMgr *ObjectManager) UpdateARecord( comment string, eas EA) (*RecordA, error) { - cleanName := strings.ToLower(strings.TrimSpace(name)) + cleanName := strings.TrimSpace(name) if cleanName == "" || cleanName != name { return nil, fmt.Errorf( "'name' argument is expected to be non-empty and it must NOT contain leading/trailing spaces") diff --git a/vendor/modules.txt b/vendor/modules.txt index d0bfb9413..bc21457d4 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -181,7 +181,7 @@ github.com/hashicorp/terraform-plugin-sdk/v2/terraform # github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d ## explicit github.com/hashicorp/yamux -# github.com/infobloxopen/infoblox-go-client/v2 v2.3.1-0.20230525121944-7aeeca0ab3b7 +# github.com/infobloxopen/infoblox-go-client/v2 v2.3.1-0.20230612083744-3ef0d7777db0 ## explicit; go 1.17 github.com/infobloxopen/infoblox-go-client/v2 # github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af From 60dca8c227c412b2edb5c51d384ac825b9e3b00a Mon Sep 17 00:00:00 2001 From: hemanthKa677 Date: Mon, 19 Jun 2023 17:55:24 +0530 Subject: [PATCH 2/2] added similar changes for AAAA Record --- go.mod | 2 +- go.sum | 4 ++-- .../infoblox-go-client/v2/object_manager_aaaa-record.go | 4 ++-- vendor/modules.txt | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index eaf0aaead..cc5f5164a 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/google/uuid v1.3.0 github.com/hashicorp/terraform-plugin-log v0.7.0 github.com/hashicorp/terraform-plugin-sdk/v2 v2.4.3 - github.com/infobloxopen/infoblox-go-client/v2 v2.3.1-0.20230612083744-3ef0d7777db0 + github.com/infobloxopen/infoblox-go-client/v2 v2.3.1-0.20230619121113-e439cee464bb github.com/sirupsen/logrus v1.8.0 ) diff --git a/go.sum b/go.sum index 04a909630..52e591baa 100644 --- a/go.sum +++ b/go.sum @@ -201,8 +201,8 @@ github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpO github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/imdario/mergo v0.3.9 h1:UauaLniWCFHWd+Jp9oCEkTBj8VO/9DKg3PV3VCNMDIg= github.com/imdario/mergo v0.3.9/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/infobloxopen/infoblox-go-client/v2 v2.3.1-0.20230612083744-3ef0d7777db0 h1:g6fytbdP9DV4eN+8Mi1JXnT8F3oJTkupa+yS60lzHEk= -github.com/infobloxopen/infoblox-go-client/v2 v2.3.1-0.20230612083744-3ef0d7777db0/go.mod h1:ZR191VH7ccpUZ+dzjALQorTevLPv+1P9N62TGJ87ib0= +github.com/infobloxopen/infoblox-go-client/v2 v2.3.1-0.20230619121113-e439cee464bb h1:HNFaXeqsByErzZFT/QV/9c49txMhOaf1H1kxMwe0MIo= +github.com/infobloxopen/infoblox-go-client/v2 v2.3.1-0.20230619121113-e439cee464bb/go.mod h1:ZR191VH7ccpUZ+dzjALQorTevLPv+1P9N62TGJ87ib0= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= diff --git a/vendor/github.com/infobloxopen/infoblox-go-client/v2/object_manager_aaaa-record.go b/vendor/github.com/infobloxopen/infoblox-go-client/v2/object_manager_aaaa-record.go index 4ee7d9036..158b6c441 100644 --- a/vendor/github.com/infobloxopen/infoblox-go-client/v2/object_manager_aaaa-record.go +++ b/vendor/github.com/infobloxopen/infoblox-go-client/v2/object_manager_aaaa-record.go @@ -17,7 +17,7 @@ func (objMgr *ObjectManager) CreateAAAARecord( comment string, eas EA) (*RecordAAAA, error) { - cleanName := strings.ToLower(strings.TrimSpace(recordName)) + cleanName := strings.TrimSpace(recordName) if cleanName == "" || cleanName != recordName { return nil, fmt.Errorf( "'name' argument is expected to be non-empty and it must NOT contain leading/trailing spaces") @@ -107,7 +107,7 @@ func (objMgr *ObjectManager) UpdateAAAARecord( comment string, setEas EA) (*RecordAAAA, error) { - cleanName := strings.ToLower(strings.TrimSpace(recordName)) + cleanName := strings.TrimSpace(recordName) if cleanName == "" || cleanName != recordName { return nil, fmt.Errorf( "'name' argument is expected to be non-empty and it must NOT contain leading/trailing spaces") diff --git a/vendor/modules.txt b/vendor/modules.txt index bc21457d4..fd3507a77 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -181,7 +181,7 @@ github.com/hashicorp/terraform-plugin-sdk/v2/terraform # github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d ## explicit github.com/hashicorp/yamux -# github.com/infobloxopen/infoblox-go-client/v2 v2.3.1-0.20230612083744-3ef0d7777db0 +# github.com/infobloxopen/infoblox-go-client/v2 v2.3.1-0.20230619121113-e439cee464bb ## explicit; go 1.17 github.com/infobloxopen/infoblox-go-client/v2 # github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af