mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix: 优化支持openstack重装系统
This commit is contained in:
@@ -30,4 +30,16 @@ func init() {
|
||||
printList(zones, 0, 0, 0, nil)
|
||||
return nil
|
||||
})
|
||||
|
||||
type SchedulerPoolListOptions struct {
|
||||
}
|
||||
shellutils.R(&SchedulerPoolListOptions{}, "scheduler-pool-list", "List scheduler pool", func(cli *openstack.SRegion, args *SchedulerPoolListOptions) error {
|
||||
pools, err := cli.GetSchedulerStatsPool()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
printList(pools, 0, 0, 0, nil)
|
||||
return nil
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user