commit | 936a5473e5ce54e6e7f0d7da95d3151a81b61bfc | [log] [tgz] |
---|---|---|
author | Jamie Hannaford <jamie.hannaford@rackspace.com> | Tue Feb 10 14:38:28 2015 +0100 |
committer | Jamie Hannaford <jamie.hannaford@rackspace.com> | Wed Oct 14 12:14:35 2015 +0200 |
tree | a71c834b2284cd70588bb437f17fbf0acd263462 | |
parent | ebcac553f8a095a41b88e4f0425940576e03d147 [diff] [blame] |
Adding GetConfig operation for Rackspace provider
diff --git a/rackspace/db/v1/instances/urls.go b/rackspace/db/v1/instances/urls.go index bb6edf2..c0c1bad 100644 --- a/rackspace/db/v1/instances/urls.go +++ b/rackspace/db/v1/instances/urls.go
@@ -9,3 +9,7 @@ func createURL(c *gophercloud.ServiceClient) string { return baseURL(c) } + +func configURL(c *gophercloud.ServiceClient) string { + return c.ServiceURL("instances", id, "configuration") +}