Merge pull request #15863 from ioito/automated-cherry-pick-of-#15862-upstream-release-3.10

Automated cherry pick of #15862: fix(region): 避免创建相同配置时使用当前实例的hostname
This commit is contained in:
Zexi Li
2023-01-30 22:12:43 +08:00
committed by GitHub
+1
View File
@@ -5835,6 +5835,7 @@ func (self *SGuest) ToCreateInput(ctx context.Context, userCred mcclient.TokenCr
// clean some of user input
userInput.GenerateName = ""
userInput.Description = ""
userInput.Hostname = ""
return userInput
}