Add Datastore type to Backup struct
diff --git a/rackspace/db/v1/backups/results.go b/rackspace/db/v1/backups/results.go
index 16a3e66..89f1fc6 100644
--- a/rackspace/db/v1/backups/results.go
+++ b/rackspace/db/v1/backups/results.go
@@ -6,6 +6,12 @@
"github.com/rackspace/gophercloud/pagination"
)
+type Datastore struct {
+ Version string
+ Type string
+ VersionID string `json:"version_id" mapstructure:"version_id"`
+}
+
type Backup struct {
Description string
ID string
@@ -17,6 +23,7 @@
Status string
Created string
Updated string
+ Datastore Datastore
}
type CreateResult struct {