fix(region): avoid duplicate playbook names

This commit is contained in:
rainzm
2021-09-28 17:11:16 +08:00
parent 8a597e1bf4
commit a2104db323
+1 -1
View File
@@ -491,7 +491,7 @@ func (guest *SGuest) PerformMakeSshable(
cliSess := auth.GetSession(ctx, userCred, "", "")
pbId := ""
pbName := "make-sshable-" + guest.Name
pbName := "make-sshable-" + guest.Id
pbModel, err := mcclient_modules.AnsiblePlaybooks.UpdateOrCreatePbModel(
ctx, cliSess, pbId, pbName, pb,
)