projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
7931: Fix format/type mismatch.
[arvados.git]
/
services
/
keepstore
/
mounts_test.go
diff --git
a/services/keepstore/mounts_test.go
b/services/keepstore/mounts_test.go
index 66a212456d51c78e09cc12dc41bdccb17bf953df..0f7b6e97351a1a6049cb1ef49db69dcb1f29a6d7 100644
(file)
--- a/
services/keepstore/mounts_test.go
+++ b/
services/keepstore/mounts_test.go
@@
-46,11
+46,11
@@
func (s *MountsSuite) TestMounts(c *check.C) {
resp := s.call("GET", "/mounts", "", nil)
c.Check(resp.Code, check.Equals, http.StatusOK)
var mntList []struct {
resp := s.call("GET", "/mounts", "", nil)
c.Check(resp.Code, check.Equals, http.StatusOK)
var mntList []struct {
- UUID string
- DeviceID string
- ReadOnly bool
- Replication int
- StorageClasses []string
+ UUID string
`json:"uuid"`
+ DeviceID string
`json:"device_id"`
+ ReadOnly bool
`json:"read_only"`
+ Replication int
`json:"replication"`
+ StorageClasses []string
`json:"storage_classes"`
}
err := json.Unmarshal(resp.Body.Bytes(), &mntList)
c.Assert(err, check.IsNil)
}
err := json.Unmarshal(resp.Body.Bytes(), &mntList)
c.Assert(err, check.IsNil)