Touching up docs
diff --git a/rackspace/lb/v1/nodes/requests.go b/rackspace/lb/v1/nodes/requests.go
index 026ecd8..1c3765a 100644
--- a/rackspace/lb/v1/nodes/requests.go
+++ b/rackspace/lb/v1/nodes/requests.go
@@ -169,12 +169,6 @@
return res
}
-// IntToPointer is a function for converting integers into integer pointers.
-// This is useful when updating the weight of a node.
-func IntToPointer(i int) *int {
- return &i
-}
-
// UpdateOptsBuilder represents a type that can be converted into a JSON-like
// map structure.
type UpdateOptsBuilder interface {
diff --git a/rackspace/lb/v1/nodes/requests_test.go b/rackspace/lb/v1/nodes/requests_test.go
index 7eabd29..f888a14 100644
--- a/rackspace/lb/v1/nodes/requests_test.go
+++ b/rackspace/lb/v1/nodes/requests_test.go
@@ -3,6 +3,7 @@
import (
"testing"
+ "github.com/rackspace/gophercloud"
"github.com/rackspace/gophercloud/pagination"
th "github.com/rackspace/gophercloud/testhelper"
"github.com/rackspace/gophercloud/testhelper/client"
@@ -149,7 +150,7 @@
opts := UpdateOpts{
Address: "1.2.3.4",
- Weight: IntToPointer(10),
+ Weight: gophercloud.IntToPointer(10),
Condition: DRAINING,
Type: SECONDARY,
}