mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-01 15:07:17 +08:00
Merge pull request #4755 from rainzm/bugfix/esxi_vm_path
fix(esxi-agent): Adjust the VM Path in Datastore
This commit is contained in:
@@ -611,7 +611,7 @@ func (self *SHost) DoCreateVM(ctx context.Context, ds *SDatastore, data *jsonuti
|
||||
if data.Contains("os_name") {
|
||||
osName, _ = data.GetString("os_name")
|
||||
}
|
||||
datastorePath := fmt.Sprintf("[%s] %s", ds.GetRelName(), name)
|
||||
datastorePath := fmt.Sprintf("[%s] ", ds.GetRelName())
|
||||
if data.Contains("mem") {
|
||||
memoryMB, _ = data.Int("mem")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user