Extracting out duplicated structs
diff --git a/rackspace/lb/v1/lbs/results.go b/rackspace/lb/v1/lbs/results.go
index a556f21..0ad998a 100644
--- a/rackspace/lb/v1/lbs/results.go
+++ b/rackspace/lb/v1/lbs/results.go
@@ -6,6 +6,7 @@
"github.com/rackspace/gophercloud"
"github.com/rackspace/gophercloud/pagination"
"github.com/rackspace/gophercloud/rackspace/lb/v1/nodes"
+ "github.com/rackspace/gophercloud/rackspace/lb/v1/sessions"
"github.com/rackspace/gophercloud/rackspace/lb/v1/vips"
)
@@ -119,7 +120,7 @@
// SessionPersistence specifies whether multiple requests from clients are
// directed to the same node.
- SessionPersistence SessionPersistence
+ SessionPersistence sessions.SessionPersistence
// ConnectionThrottle specifies a limit on the number of connections per IP
// address to help mitigate malicious or abusive traffic to your applications.
@@ -137,11 +138,6 @@
IPv6Private string `json:"ipv6Servicenet" mapstructure:"ipv6Servicenet"`
}
-// SessionPersistence - temp
-type SessionPersistence struct {
- Type string `json:"persistenceType" mapstructure:"persistenceType"`
-}
-
// ConnectionThrottle - temp
type ConnectionThrottle struct {
MinConns int `json:"minConnections" mapstructure:"minConnections"`