Skip to content

Commit 4b663f6

Browse files
Remove unused ipv6AddressDiffSuppress func (#5214) (#3635)
Signed-off-by: Modular Magician <[email protected]>
1 parent 9e867dd commit 4b663f6

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

.changelog/5214.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
```release-note:none
2+
```

google-beta/resource_dns_record_set.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -412,10 +412,3 @@ func rrdata(
412412
}
413413
return data
414414
}
415-
416-
func ipv6AddressDiffSuppress(_, old, new string, _ *schema.ResourceData) bool {
417-
oldIp := net.ParseIP(old)
418-
newIp := net.ParseIP(new)
419-
420-
return oldIp.Equal(newIp)
421-
}

google-beta/resource_gke_hub_feature_membership_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"testing"
77

8-
dcl "github.com/GoogleCloudPlatform/declarative-resource-client-library/dcl"
8+
"github.com/GoogleCloudPlatform/declarative-resource-client-library/dcl"
99
gkehub "github.com/GoogleCloudPlatform/declarative-resource-client-library/services/google/gkehub/beta"
1010
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
1111
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"

0 commit comments

Comments
 (0)