diff --git a/openstack/networking/v2/bandwidths/urls.go b/openstack/networking/v2/bandwidths/urls.go index 2a33e548c..57a51732e 100644 --- a/openstack/networking/v2/bandwidths/urls.go +++ b/openstack/networking/v2/bandwidths/urls.go @@ -3,24 +3,24 @@ package bandwidths import "github.com/huaweicloud/golangsdk" func PostURL(c *golangsdk.ServiceClient) string { - return c.ServiceURL("bandwidths") + return c.ServiceURL(c.ProjectID, "bandwidths") } func BatchPostURL(c *golangsdk.ServiceClient) string { - return c.ServiceURL("batch-bandwidths") + return c.ServiceURL(c.ProjectID, "batch-bandwidths") } func UpdateURL(c *golangsdk.ServiceClient, ID string) string { - return c.ServiceURL("bandwidths", ID) + return c.ServiceURL(c.ProjectID, "bandwidths", ID) } func DeleteURL(c *golangsdk.ServiceClient, ID string) string { - return c.ServiceURL("bandwidths", ID) + return c.ServiceURL(c.ProjectID, "bandwidths", ID) } func InsertURL(c *golangsdk.ServiceClient, ID string) string { - return c.ServiceURL("bandwidths", ID, "insert") + return c.ServiceURL(c.ProjectID, "bandwidths", ID, "insert") } func RemoveURL(c *golangsdk.ServiceClient, ID string) string { - return c.ServiceURL("bandwidths", ID, "remove") + return c.ServiceURL(c.ProjectID, "bandwidths", ID, "remove") }