mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 06:09:39 +08:00
Automatic merge from release/2.1.0 -> master
* commit '9097c42a898acec8b868330b7c59b8ecf2d4fd4d': 测试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