commit | 7afb7af8c1dd47bf57cc17e44b4dc7fcf534cf33 | [log] [tgz] |
---|---|---|
author | Jamie Hannaford <jamie.hannaford@rackspace.com> | Tue Nov 04 13:32:20 2014 +0100 |
committer | Jamie Hannaford <jamie.hannaford@rackspace.com> | Fri Nov 07 14:01:59 2014 +0100 |
tree | 90ccbce75167a89715c7aee24bed8585e9c2dd5a | |
parent | d44daa810a9fa7acd7e4141ca0bf355dc57db2f2 [diff] [blame] |
Update monitor :tada:
diff --git a/rackspace/lb/v1/monitors/urls.go b/rackspace/lb/v1/monitors/urls.go new file mode 100644 index 0000000..0a1e6df --- /dev/null +++ b/rackspace/lb/v1/monitors/urls.go
@@ -0,0 +1,16 @@ +package monitors + +import ( + "strconv" + + "github.com/rackspace/gophercloud" +) + +const ( + path = "loadbalancers" + monitorPath = "healthmonitor" +) + +func rootURL(c *gophercloud.ServiceClient, lbID int) string { + return c.ServiceURL(path, strconv.Itoa(lbID), monitorPath) +}