Merge pull request #141 in YUNIONIO/onecloud from ~ZHOUYOUSONG/onecloud:bugfix/yousong-climc-server-reset to release/2.1.0

* commit 'a1f67a60de4a1419116113db240a00d60a803800':
  options: server-reset: pass is_hard only when set
This commit is contained in:
周有松
2018-08-30 11:49:39 +08:00
+1 -1
View File
@@ -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"`
}