Merge pull request #15862 from ioito/hotfix/qx-create-params-hostname

fix(region): 避免创建相同配置时使用当前实例的hostname
This commit is contained in:
Zexi Li
2023-01-30 22:12:36 +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
}