Skip to content

Commit

Permalink
vcsim: set StandbyMode default to "none"
Browse files Browse the repository at this point in the history
according Enum HostStandbyMode(vim.HostSystem.StandbyMode), StandByMode
should not be empty
  • Loading branch information
xarem authored and dougm committed Jun 27, 2023
1 parent a405207 commit 844274f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simulator/esx/host_system.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var HostSystem = mo.HostSystem{
DynamicData: types.DynamicData{},
ConnectionState: "connected",
PowerState: "poweredOn",
StandbyMode: "",
StandbyMode: "none",
InMaintenanceMode: false,
BootTime: (*time.Time)(nil),
HealthSystemRuntime: &types.HealthSystemRuntime{
Expand Down

0 comments on commit 844274f

Please sign in to comment.