From e8489c88fb41b838c66e7794b8fa704560d7a222 Mon Sep 17 00:00:00 2001 From: Nikita Pivkin Date: Wed, 15 Nov 2023 16:38:29 +0700 Subject: [PATCH] refactor(google): update DNSManagedZone resource structure --- pkg/providers/google/dns/dns.go | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkg/providers/google/dns/dns.go b/pkg/providers/google/dns/dns.go index d75270201..6cac846c9 100755 --- a/pkg/providers/google/dns/dns.go +++ b/pkg/providers/google/dns/dns.go @@ -21,16 +21,11 @@ func (m ManagedZone) IsPrivate() bool { type DNSSec struct { Metadata defsecTypes.Metadata Enabled defsecTypes.BoolValue - DefaultKeySpecs KeySpecs + DefaultKeySpecs []KeySpecs } type KeySpecs struct { - Metadata defsecTypes.Metadata - KeySigningKey Key - ZoneSigningKey Key -} - -type Key struct { Metadata defsecTypes.Metadata Algorithm defsecTypes.StringValue + KeyType defsecTypes.StringValue }