Adding error pages
diff --git a/rackspace/lb/v1/lbs/urls.go b/rackspace/lb/v1/lbs/urls.go
index 5100e94..bf1e8b5 100644
--- a/rackspace/lb/v1/lbs/urls.go
+++ b/rackspace/lb/v1/lbs/urls.go
@@ -11,6 +11,7 @@
protocolsPath = "protocols"
algorithmsPath = "algorithms"
logPath = "connectionlogging"
+ epPath = "errorpage"
)
func resourceURL(c *gophercloud.ServiceClient, id int) string {
@@ -32,3 +33,7 @@
func loggingURL(c *gophercloud.ServiceClient, id int) string {
return c.ServiceURL(path, strconv.Itoa(id), logPath)
}
+
+func errorPageURL(c *gophercloud.ServiceClient, id int) string {
+ return c.ServiceURL(path, strconv.Itoa(id), epPath)
+}