Fixes and adding operations for cert mappings
diff --git a/rackspace/lb/v1/ssl/urls.go b/rackspace/lb/v1/ssl/urls.go
index 40f5dff..f78a8ac 100644
--- a/rackspace/lb/v1/ssl/urls.go
+++ b/rackspace/lb/v1/ssl/urls.go
@@ -1,4 +1,4 @@
-package throttle
+package ssl
import (
"strconv"
@@ -7,10 +7,15 @@
)
const (
- path = "loadbalancers"
- sslPath = "ssltermination"
+ path = "loadbalancers"
+ sslPath = "ssltermination"
+ certPath = "certificatemappings"
)
func rootURL(c *gophercloud.ServiceClient, id int) string {
return c.ServiceURL(path, strconv.Itoa(id), sslPath)
}
+
+func certURL(c *gophercloud.ServiceClient, id int) string {
+ return c.ServiceURL(path, strconv.Itoa(id), sslPath, certPath)
+}