Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vcsim: fix save+load of Alarm objects #3681

Merged
merged 2 commits into from
Jan 18, 2025
Merged

Conversation

dougm
Copy link
Member

@dougm dougm commented Jan 17, 2025

govc object.save includes Alarm objects, but vcsim -load did not wrap the Alarm objects.
This causes panic when trying to call CreateAlarm() which expects wrapped Alarm objects.

@dougm dougm force-pushed the vcsim-load-alarm branch 2 times, most recently from fb2a6d0 to bf637fc Compare January 17, 2025 23:24
dougm added 2 commits January 17, 2025 15:25
govc object.save includes Alarm objects, but vcsim -load did not wrap the Alarm objects.
This causes panic when trying to call CreateAlarm() which expects wrapped Alarm objects.

Signed-off-by: Doug MacEachern <[email protected]>
Copy link

@shihhaoli shihhaoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested and crashed no longer happened, thanks

@dougm dougm merged commit a7d6f3a into vmware:main Jan 18, 2025
11 checks passed
@dougm dougm deleted the vcsim-load-alarm branch January 18, 2025 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants