mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-06-01 05:22:24 +08:00
解决冲突
This commit is contained in:
@@ -9,11 +9,10 @@ import (
|
||||
|
||||
func init() {
|
||||
type InstanceListOptions struct {
|
||||
ZoneID string `help:"Zone ID for filter instance list"`
|
||||
Host string `help:"Host name for filter instance list"`
|
||||
Host string `help:"Host name for filter instance list"`
|
||||
}
|
||||
shellutils.R(&InstanceListOptions{}, "instance-list", "List instances", func(cli *openstack.SRegion, args *InstanceListOptions) error {
|
||||
instances, err := cli.GetInstances(args.ZoneID, args.Host)
|
||||
instances, err := cli.GetInstances(args.Host)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user