fix(esxiagent): execute deploy operation by default in AgentDeployGuest

This commit is contained in:
rainzm
2021-05-14 19:14:07 +08:00
parent a2e3099ae3
commit a0f7a5e7bc
+1 -1
View File
@@ -195,7 +195,7 @@ func (as *SAgentStorage) AgentDeployGuest(ctx context.Context, data interface{})
dataDict := data.(*jsonutils.JSONDict)
action, _ := dataDict.GetString("action")
var (
needDeploy bool
needDeploy = true
err error
)
if action == "create" {