From dfd031e614f944981860197e02546fc11f32fb58 Mon Sep 17 00:00:00 2001 From: Zhenguo Niu Date: Tue, 23 Apr 2019 19:32:20 +0800 Subject: [PATCH] Fix CCE node list error --- openstack/cce/v3/nodes/requests.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack/cce/v3/nodes/requests.go b/openstack/cce/v3/nodes/requests.go index 71caa2642..1dd33cf61 100644 --- a/openstack/cce/v3/nodes/requests.go +++ b/openstack/cce/v3/nodes/requests.go @@ -45,7 +45,7 @@ func FilterNodes(nodes []Nodes, opts ListOpts) []Nodes { m["Name"] = FilterStruct{Value: opts.Name, Driller: []string{"Metadata"}} } if opts.Uid != "" { - m["Uid"] = FilterStruct{Value: opts.Uid, Driller: []string{"Metadata"}} + m["Id"] = FilterStruct{Value: opts.Uid, Driller: []string{"Metadata"}} } if opts.Phase != "" {