From 0e5700b02ebfa43e0b29ca15a8055625273a93fb Mon Sep 17 00:00:00 2001 From: jackofallops <11830746+jackofallops@users.noreply.github.com> Date: Tue, 25 Oct 2022 14:41:32 +0100 Subject: [PATCH] Dependencies: update to go-azure-helpers v0.45.0 (#18968) --- go.mod | 2 +- go.sum | 4 ++-- .../resourcemanager/systemdata/model.go | 16 ++++++++-------- vendor/modules.txt | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/go.mod b/go.mod index 48ed014224eb..9a4e5d49ed42 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/gofrs/uuid v4.0.0+incompatible github.com/google/go-cmp v0.5.8 github.com/google/uuid v1.1.2 - github.com/hashicorp/go-azure-helpers v0.44.0 + github.com/hashicorp/go-azure-helpers v0.45.0 github.com/hashicorp/go-azure-sdk v0.20221024.1162143 github.com/hashicorp/go-multierror v1.1.1 github.com/hashicorp/go-uuid v1.0.3 diff --git a/go.sum b/go.sum index b626f741317f..e4003eb8494d 100644 --- a/go.sum +++ b/go.sum @@ -214,8 +214,8 @@ github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brv github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-azure-helpers v0.12.0/go.mod h1:Zc3v4DNeX6PDdy7NljlYpnrdac1++qNW0I4U+ofGwpg= -github.com/hashicorp/go-azure-helpers v0.44.0 h1:ETmIJnKJpdyRtNvKv9azJRYlwNde/5C6SUjHsGajpMw= -github.com/hashicorp/go-azure-helpers v0.44.0/go.mod h1:WiJNl0fD6PoM/MYuGTZ8yuzIaXQR3m2H2g6+EJ8nSwc= +github.com/hashicorp/go-azure-helpers v0.45.0 h1:xuht3X0L5S8ma5HR6IY+jvzkkLwvQ9ifDmpVGUcOB8s= +github.com/hashicorp/go-azure-helpers v0.45.0/go.mod h1:WiJNl0fD6PoM/MYuGTZ8yuzIaXQR3m2H2g6+EJ8nSwc= github.com/hashicorp/go-azure-sdk v0.20221024.1162143 h1:YlckjIw3ztpFH9GSkmuQJxKnRPnUoSaOl2EuyjlOgtA= github.com/hashicorp/go-azure-sdk v0.20221024.1162143/go.mod h1:BEjoURzcFwd+K3MqkbOt9jArIIrsqpBQ2Gz6DdemFIs= github.com/hashicorp/go-checkpoint v0.5.0 h1:MFYpPZCnQqQTE18jFwSII6eUQrD/oxMFp3mlgcqk5mU= diff --git a/vendor/github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata/model.go b/vendor/github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata/model.go index 340c9dc4d6ed..164b4618c795 100644 --- a/vendor/github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata/model.go +++ b/vendor/github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata/model.go @@ -5,16 +5,16 @@ import "encoding/json" var _ json.Marshaler = &SystemData{} type SystemData struct { - CreatedBy string `json:"createdBy"` - CreatedByType string `json:"createdByType"` - CreatedAt string `json:"createdAt"` - LastModifiedBy string `json:"lastModifiedBy"` - LastModifiedbyType string `json:"lastModifiedbyType"` - LastModifiedAt string `json:"lastModifiedAt"` + CreatedBy string `json:"createdBy"` + CreatedByType string `json:"createdByType"` + CreatedAt string `json:"createdAt"` + LastModifiedBy string `json:"lastModifiedBy"` + LastModifiedbyType string `json:"lastModifiedbyType"` + LastModifiedAt string `json:"lastModifiedAt"` } // SystemData is a Read Only type. If Systemdata is part of a request some Azure APIs will ignore it, // others will return HTTP 400. We're returning nothing on purpose to avoid the error. func (s *SystemData) MarshalJSON() ([]byte, error) { - return []byte{}, nil -} \ No newline at end of file + return json.Marshal([]byte{}) +} diff --git a/vendor/modules.txt b/vendor/modules.txt index 35901b1850b9..ba31e3b037eb 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -161,7 +161,7 @@ github.com/google/uuid # github.com/hashicorp/errwrap v1.1.0 ## explicit github.com/hashicorp/errwrap -# github.com/hashicorp/go-azure-helpers v0.44.0 +# github.com/hashicorp/go-azure-helpers v0.45.0 ## explicit; go 1.18 github.com/hashicorp/go-azure-helpers/authentication github.com/hashicorp/go-azure-helpers/lang/dates