mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-08-29 03:51:54 +08:00
Merge pull request #1 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:bugfix/qj-minor-patch to release/2.0.0
* commit '538fb576088e97295cfa3c1148b708bfa8ccb4df': 测试fork PR
This commit is contained in:
@@ -10,9 +10,9 @@ func init() {
|
||||
type ZoneListOptions struct {
|
||||
BaseListOptions
|
||||
Region string `help:"cloud region ID or Name"`
|
||||
Usable bool `help:"List zones that is usable"`
|
||||
Private bool `help:"show zones in private cloud regions only"`
|
||||
Public bool `help:"show zones in public cloud regions only"`
|
||||
Usable bool `help:"List all zones that is usable"`
|
||||
Private bool `help:"show all zones in private cloud regions only"`
|
||||
Public bool `help:"show all zones in public cloud regions only"`
|
||||
}
|
||||
R(&ZoneListOptions{}, "zone-list", "List zones", func(s *mcclient.ClientSession, args *ZoneListOptions) error {
|
||||
params := FetchPagingParams(args.BaseListOptions)
|
||||
|
||||
Reference in New Issue
Block a user