Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yunkon-kim committed Feb 28, 2024
1 parent a6777bd commit ec5961b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/api/rest/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -11564,7 +11564,7 @@ const docTemplate = `{
"type": "string",
"example": "3"
},
"vmUserPassword default:": {
"vmUserPassword": {
"type": "string"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/api/rest/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -11557,7 +11557,7 @@
"type": "string",
"example": "3"
},
"vmUserPassword default:": {
"vmUserPassword": {
"type": "string"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/api/rest/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2399,7 +2399,7 @@ definitions:
VMs will be created accordingly.
example: "3"
type: string
'vmUserPassword default:':
vmUserPassword:
type: string
required:
- commonImage
Expand Down
2 changes: 1 addition & 1 deletion src/core/mcis/provisioning.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ type TbVmDynamicReq struct {
RootDiskType string `json:"rootDiskType,omitempty" example:"default, TYPE1, ..."` // "", "default", "TYPE1", AWS: ["standard", "gp2", "gp3"], Azure: ["PremiumSSD", "StandardSSD", "StandardHDD"], GCP: ["pd-standard", "pd-balanced", "pd-ssd", "pd-extreme"], ALIBABA: ["cloud_efficiency", "cloud", "cloud_essd"], TENCENT: ["CLOUD_PREMIUM", "CLOUD_SSD"]
RootDiskSize string `json:"rootDiskSize,omitempty" example:"default, 30, 42, ..."` // "default", Integer (GB): ["50", ..., "1000"]

VmUserPassword string `json:"vmUserPassword default:""`
VmUserPassword string `json:"vmUserPassword" default:""`
// if ConnectionName is given, the VM tries to use associtated credential.
// if not, it will use predefined ConnectionName in Spec objects
ConnectionName string `json:"connectionName,omitempty" default:""`
Expand Down

0 comments on commit ec5961b

Please sign in to comment.