Skip to content

Commit 9ccb5d9

Browse files
renovate[bot]opentelemetrybotsongy23dehaansa
authored
Update module github.com/vmware/govmomi to v0.49.0 (#38553)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/vmware/govmomi](https://redirect.github.com/vmware/govmomi) | `v0.48.1` -> `v0.49.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fvmware%2fgovmomi/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fvmware%2fgovmomi/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fvmware%2fgovmomi/v0.48.1/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fvmware%2fgovmomi/v0.48.1/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>vmware/govmomi (github.com/vmware/govmomi)</summary> ### [`v0.49.0`](https://redirect.github.com/vmware/govmomi/releases/tag/v0.49.0) [Compare Source](https://redirect.github.com/vmware/govmomi/compare/v0.48.1...v0.49.0) <a name="v0.49.0"></a> #### [Release v0.49.0](https://redirect.github.com/vmware/govmomi/compare/v0.49.0-alpha.0...v0.49.0) > Release Date: 2025-03-11 ##### 🐞 Fix - \[[`f13754e`](https://redirect.github.com/vmware/govmomi/commit/f13754e9)] vcsim: extend PropertyCollector lock to avoid potential races ([#&#8203;3697](https://redirect.github.com/vmware/govmomi/issues/3697)) - \[[`67566aa`](https://redirect.github.com/vmware/govmomi/commit/67566aa6)] Drop operationID soap header for unsupported endpoints ##### 💫 `govc` (CLI) - \[[`29fe42f`](https://redirect.github.com/vmware/govmomi/commit/29fe42fa)] add volume.rm -keep flag to retain backing disk - \[[`55b7637`](https://redirect.github.com/vmware/govmomi/commit/55b76378)] add volume.extend command - \[[`1b06c59`](https://redirect.github.com/vmware/govmomi/commit/1b06c598)] add GPU commands - \[[`8f7fbc3`](https://redirect.github.com/vmware/govmomi/commit/8f7fbc3a)] add session.login -jwt option ([#&#8203;3041](https://redirect.github.com/vmware/govmomi/issues/3041)) - \[[`35b5564`](https://redirect.github.com/vmware/govmomi/commit/35b5564b)] Rewrite kms.export URL to use the host we connected to vCenter with - \[[`5899d79`](https://redirect.github.com/vmware/govmomi/commit/5899d799)] Add storage.policy.create '-e' option to enable encryption ##### 💫 `vcsim` (Simulator) - \[[`f16c46b`](https://redirect.github.com/vmware/govmomi/commit/f16c46bc)] add vsan Datastore support - \[[`cdeb3e4`](https://redirect.github.com/vmware/govmomi/commit/cdeb3e48)] remove simulator.Map package variable - \[[`4a0b946`](https://redirect.github.com/vmware/govmomi/commit/4a0b9464)] add query and metadata support for CNS Volume API ##### 🧹 Chore - \[[`bd808e8`](https://redirect.github.com/vmware/govmomi/commit/bd808e86)] Update version.go for v0.49.0 - \[[`3bf0935`](https://redirect.github.com/vmware/govmomi/commit/3bf0935b)] Use cns Task helpers in govc volume commands ##### ⚠️ BREAKING remove simulator.Map package variable \[[`cdeb3e4`](https://redirect.github.com/vmware/govmomi/commit/cdeb3e48)]: simulator.Map package variable has been removed simulator.SpoofContext function has been renamed to NewContext ##### 📖 Commits - \[[`bd808e8`](https://redirect.github.com/vmware/govmomi/commit/bd808e86)] chore: Update version.go for v0.49.0 - \[[`3b71869`](https://redirect.github.com/vmware/govmomi/commit/3b718697)] build(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 - \[[`3bf0935`](https://redirect.github.com/vmware/govmomi/commit/3bf0935b)] chore: Use cns Task helpers in govc volume commands - \[[`29fe42f`](https://redirect.github.com/vmware/govmomi/commit/29fe42fa)] govc: add volume.rm -keep flag to retain backing disk - \[[`55b7637`](https://redirect.github.com/vmware/govmomi/commit/55b76378)] govc: add volume.extend command - \[[`f16c46b`](https://redirect.github.com/vmware/govmomi/commit/f16c46bc)] vcsim: add vsan Datastore support - \[[`cdeb3e4`](https://redirect.github.com/vmware/govmomi/commit/cdeb3e48)] vcsim: remove simulator.Map package variable - \[[`f13754e`](https://redirect.github.com/vmware/govmomi/commit/f13754e9)] fix: vcsim: extend PropertyCollector lock to avoid potential races ([#&#8203;3697](https://redirect.github.com/vmware/govmomi/issues/3697)) - \[[`1b06c59`](https://redirect.github.com/vmware/govmomi/commit/1b06c598)] govc: add GPU commands - \[[`8f7fbc3`](https://redirect.github.com/vmware/govmomi/commit/8f7fbc3a)] govc: add session.login -jwt option ([#&#8203;3041](https://redirect.github.com/vmware/govmomi/issues/3041)) - \[[`4a0b946`](https://redirect.github.com/vmware/govmomi/commit/4a0b9464)] vcsim: add query and metadata support for CNS Volume API - \[[`afc4788`](https://redirect.github.com/vmware/govmomi/commit/afc4788c)] build(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0 - \[[`e8a9a19`](https://redirect.github.com/vmware/govmomi/commit/e8a9a192)] build(deps): bump golang.org/x/text from 0.21.0 to 0.22.0 - \[[`67566aa`](https://redirect.github.com/vmware/govmomi/commit/67566aa6)] fix: Drop operationID soap header for unsupported endpoints - \[[`35b5564`](https://redirect.github.com/vmware/govmomi/commit/35b5564b)] govc: Rewrite kms.export URL to use the host we connected to vCenter with - \[[`5899d79`](https://redirect.github.com/vmware/govmomi/commit/5899d799)] govc: Add storage.policy.create '-e' option to enable encryption </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOTQuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE5NC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <[email protected]> Co-authored-by: Yang Song <[email protected]> Co-authored-by: Sam DeHaan <[email protected]>
1 parent feecafa commit 9ccb5d9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

receiver/vcenterreceiver/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden v0.121.0
1010
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest v0.121.0
1111
github.com/stretchr/testify v1.10.0
12-
github.com/vmware/govmomi v0.48.1
12+
github.com/vmware/govmomi v0.49.0
1313
go.opentelemetry.io/collector/component v1.27.1-0.20250307194215-7d3e03e500b0
1414
go.opentelemetry.io/collector/component/componenttest v0.121.1-0.20250307194215-7d3e03e500b0
1515
go.opentelemetry.io/collector/config/configopaque v1.27.1-0.20250307194215-7d3e03e500b0

receiver/vcenterreceiver/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

receiver/vcenterreceiver/integration_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ func TestIntegration(t *testing.T) {
4242
require.NoError(t, err)
4343
for i, host := range hosts {
4444
newName := fmt.Sprintf("H%d", i)
45-
simulator.Map.Get(host.Reference()).(*simulator.HostSystem).Name = newName
45+
simulator.Map(ctx).Get(host.Reference()).(*simulator.HostSystem).Name = newName
4646
}
4747

4848
vms, err := finder.VirtualMachineList(ctx, "/DC0/vm/*")
4949
require.NoError(t, err)
5050
for i, vm := range vms {
5151
newName := fmt.Sprintf("VM%d", i)
5252
newUUID := fmt.Sprintf("vm-uuid-%d", i)
53-
simVM := simulator.Map.Get(vm.Reference()).(*simulator.VirtualMachine)
53+
simVM := simulator.Map(ctx).Get(vm.Reference()).(*simulator.VirtualMachine)
5454
simVM.Name = newName
5555
simVM.Config.Uuid = newUUID
5656

0 commit comments

Comments
 (0)