diff --git a/internal/rbd/rbd_attach.go b/internal/rbd/rbd_attach.go index 7ce3d6cb7..b6bd3e21d 100644 --- a/internal/rbd/rbd_attach.go +++ b/internal/rbd/rbd_attach.go @@ -59,7 +59,7 @@ func init() { type rbdDeviceInfo struct { ID string `json:"id"` Pool string `json:"pool"` - RadosNamespace string `json:"radosNamespace"` + RadosNamespace string `json:"namespace"` Name string `json:"name"` Device string `json:"device"` } @@ -71,7 +71,7 @@ type rbdDeviceInfo struct { type nbdDeviceInfo struct { ID int64 `json:"id"` Pool string `json:"pool"` - RadosNamespace string `json:"radosNamespace"` + RadosNamespace string `json:"namespace"` Name string `json:"image"` Device string `json:"device"` }