fixModelartsNodeCount nullable

This commit is contained in:
mhf
2022-10-21 18:48:26 +08:00
parent 7b00932d1e
commit 70047bbed3
+1 -1
View File
@@ -70,7 +70,7 @@ type SModelartsPool struct {
SDeletePreventableResourceBase
InstanceType string `width:"72" charset:"ascii" nullable:"true" list:"user" update:"user" create:"optional"`
NodeCount int `nullable:"false" list:"user" create:"required"`
NodeCount int `list:"user" create:"required"`
WorkType string `width:"72" charset:"ascii" nullable:"true" list:"user" update:"user" create:"optional"`
// CPU 架构 x86|xarm
CpuArch string `width:"16" charset:"ascii" nullable:"true" list:"user" create:"admin_optional" update:"admin"`