mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
options: server-reset: pass is_hard only when set
This commit is contained in:
@@ -274,5 +274,5 @@ type ServerChangeConfigOptions struct {
|
||||
|
||||
type ServerResetOptions struct {
|
||||
ID []string `help:"ID of servers to operate" metavar:"SERVER" json:"-"`
|
||||
Hard bool `help:"Hard reset or not; default soft" json:"is_hard"`
|
||||
Hard *bool `help:"Hard reset or not; default soft" json:"is_hard"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user