fix(region): 避免创建相同配置时使用当前实例的hostname

This commit is contained in:
ioito
2023-01-30 15:20:34 +08:00
parent 1c59f344c9
commit afa2dc7df0

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
}