File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
openstack/db/v1/instances Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ import (
1414type Volume struct {
1515 // The size in GB of the volume
1616 Size int
17- // The type of the volume
18- Type string
1917
2018 Used float64
2119}
Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ var instanceGet = `
8787 "updated": "` + timestamp + `",
8888 "volume": {
8989 "size": 1,
90- "type": "ssd",
9190 "used": 0.12
9291 },
9392 "addresses": [
@@ -223,7 +222,7 @@ var expectedInstance = instances.Instance{
223222 },
224223 Name : "json_rack_instance" ,
225224 Status : "BUILD" ,
226- Volume : instances.Volume {Size : 2 , Type : "ssd" },
225+ Volume : instances.Volume {Size : 2 },
227226 Datastore : datastores.DatastorePartial {
228227 Type : "mysql" ,
229228 Version : "5.6" ,
@@ -246,7 +245,7 @@ var expectedGetInstance = instances.Instance{
246245 },
247246 Name : "test" ,
248247 Status : "ACTIVE" ,
249- Volume : instances.Volume {Size : 1 , Type : "ssd" , Used : 0.12 },
248+ Volume : instances.Volume {Size : 1 , Used : 0.12 },
250249 Datastore : datastores.DatastorePartial {
251250 Type : "mysql" ,
252251 Version : "5.6" ,
@@ -274,7 +273,7 @@ var expectedInstanceWithFault = instances.Instance{
274273 },
275274 Name : "json_rack_instance" ,
276275 Status : "BUILD" ,
277- Volume : instances.Volume {Size : 2 , Type : "ssd" },
276+ Volume : instances.Volume {Size : 2 },
278277 Datastore : datastores.DatastorePartial {
279278 Type : "mysql" ,
280279 Version : "5.6" ,
You can’t perform that action at this time.
0 commit comments