mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/yunionio/cloudpods.git
synced 2026-09-20 08:03:53 +08:00
fix(region): 避免创建相同配置时使用当前实例的hostname
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user