Fixing minor issues such as weakly typed decoding
diff --git a/rackspace/db/v1/flavors/delegate_test.go b/rackspace/db/v1/flavors/delegate_test.go
index 4f51776..f5f6442 100644
--- a/rackspace/db/v1/flavors/delegate_test.go
+++ b/rackspace/db/v1/flavors/delegate_test.go
@@ -26,7 +26,7 @@
expected := []os.Flavor{
os.Flavor{
- ID: 1,
+ ID: "1",
Name: "m1.tiny",
RAM: 512,
Links: []gophercloud.Link{
@@ -35,7 +35,7 @@
},
},
os.Flavor{
- ID: 2,
+ ID: "2",
Name: "m1.small",
RAM: 1024,
Links: []gophercloud.Link{
@@ -44,7 +44,7 @@
},
},
os.Flavor{
- ID: 3,
+ ID: "3",
Name: "m1.medium",
RAM: 2048,
Links: []gophercloud.Link{
@@ -53,7 +53,7 @@
},
},
os.Flavor{
- ID: 4,
+ ID: "4",
Name: "m1.large",
RAM: 4096,
Links: []gophercloud.Link{
@@ -83,7 +83,7 @@
th.AssertNoErr(t, err)
expected := &os.Flavor{
- ID: 1,
+ ID: "1",
Name: "m1.tiny",
RAM: 512,
Links: []gophercloud.Link{