From cb5b90d3b5860c84624f5a7ac5bd4f58286b075c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 08:47:11 +0000 Subject: [PATCH] Go Dependency: Bump github.com/vmware/govmomi from 0.46.1 to 0.46.2 Bumps [github.com/vmware/govmomi](https://github.com/vmware/govmomi) from 0.46.1 to 0.46.2. - [Release notes](https://github.com/vmware/govmomi/releases) - [Changelog](https://github.com/vmware/govmomi/blob/main/CHANGELOG.md) - [Commits](https://github.com/vmware/govmomi/compare/v0.46.1...v0.46.2) --- updated-dependencies: - dependency-name: github.com/vmware/govmomi dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- vendor/github.com/vmware/govmomi/internal/version/version.go | 2 +- vendor/github.com/vmware/govmomi/vim25/types/byte_slice.go | 3 ++- vendor/modules.txt | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index e29f08c2..c2196436 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/atc0005/go-nagios v0.18.0 github.com/google/go-cmp v0.6.0 github.com/rs/zerolog v1.33.0 - github.com/vmware/govmomi v0.46.1 + github.com/vmware/govmomi v0.46.2 ) require ( diff --git a/go.sum b/go.sum index de84562e..3fbd9655 100644 --- a/go.sum +++ b/go.sum @@ -22,8 +22,8 @@ github.com/rs/zerolog v1.33.0 h1:1cU2KZkvPxNyfgEmhHAz/1A9Bz+llsdYzklWFzgp0r8= github.com/rs/zerolog v1.33.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/vmware/govmomi v0.46.1 h1:RBoIR/vlGBYn+t7I1LFLLbDQSoBn+xN6gPYYMbFZ+80= -github.com/vmware/govmomi v0.46.1/go.mod h1:uoLVU9zlXC4p4GmLVG+ZJmBC0Gn3Q7mytOJvi39OhxA= +github.com/vmware/govmomi v0.46.2 h1:gZTIcKSr4sVcDB803FUv0r4lhOgE5Y5WQCNW75dPlls= +github.com/vmware/govmomi v0.46.2/go.mod h1:uoLVU9zlXC4p4GmLVG+ZJmBC0Gn3Q7mytOJvi39OhxA= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= diff --git a/vendor/github.com/vmware/govmomi/internal/version/version.go b/vendor/github.com/vmware/govmomi/internal/version/version.go index 4e0ee683..e59a459a 100644 --- a/vendor/github.com/vmware/govmomi/internal/version/version.go +++ b/vendor/github.com/vmware/govmomi/internal/version/version.go @@ -21,5 +21,5 @@ const ( ClientName = "govmomi" // ClientVersion is the version of this SDK - ClientVersion = "0.46.1" + ClientVersion = "0.46.2" ) diff --git a/vendor/github.com/vmware/govmomi/vim25/types/byte_slice.go b/vendor/github.com/vmware/govmomi/vim25/types/byte_slice.go index a19a0bb2..af164400 100644 --- a/vendor/github.com/vmware/govmomi/vim25/types/byte_slice.go +++ b/vendor/github.com/vmware/govmomi/vim25/types/byte_slice.go @@ -36,7 +36,8 @@ func (b ByteSlice) MarshalXML(e *xml.Encoder, field xml.StartElement) error { Name: field.Name, } for i := range b { - if err := e.EncodeElement(b[i], start); err != nil { + // Using int8() here to output a signed byte (issue #3615) + if err := e.EncodeElement(int8(b[i]), start); err != nil { return err } } diff --git a/vendor/modules.txt b/vendor/modules.txt index 337ad6c6..c2b677da 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -20,7 +20,7 @@ github.com/rs/zerolog github.com/rs/zerolog/internal/cbor github.com/rs/zerolog/internal/json github.com/rs/zerolog/log -# github.com/vmware/govmomi v0.46.1 +# github.com/vmware/govmomi v0.46.2 ## explicit; go 1.22 github.com/vmware/govmomi github.com/vmware/govmomi/fault