Adding batch delete nodes
diff --git a/rackspace/lb/v1/nodes/results.go b/rackspace/lb/v1/nodes/results.go
index 399f5c9..449d7f6 100644
--- a/rackspace/lb/v1/nodes/results.go
+++ b/rackspace/lb/v1/nodes/results.go
@@ -2,7 +2,7 @@
import (
"github.com/mitchellh/mapstructure"
-
+ "github.com/rackspace/gophercloud"
"github.com/rackspace/gophercloud/pagination"
)
@@ -116,9 +116,9 @@
}
// CreateResult represents the result of a create operation. Since multiple
-// nodes can be added in one operation, this result represents multiple nodes -
-// and should be treated as a typical pagination Page. Use ExtractNodes to get
-// out a slice of Node structs.
+// nodes can be added in one operation, this result represents multiple nodes
+// and should be treated as a typical pagination Page. Use its ExtractNodes
+// method to get out a slice of Node structs.
type CreateResult struct {
pagination.SinglePageBase
}
@@ -126,3 +126,7 @@
func (res CreateResult) ExtractNodes() ([]Node, error) {
return commonExtractNodes(res.Body)
}
+
+type DeleteResult struct {
+ gophercloud.ErrResult
+}