Use mountpoint as image fs identifier.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
@@ -42,7 +42,7 @@ func (c *criContainerdService) ImageFsInfo(ctx context.Context, r *runtime.Image
|
||||
ImageFilesystems: []*runtime.FilesystemUsage{
|
||||
{
|
||||
Timestamp: timestamp,
|
||||
StorageId: &runtime.StorageIdentifier{Uuid: c.imageFSUUID},
|
||||
FsId: &runtime.FilesystemIdentifier{Mountpoint: c.imageFSPath},
|
||||
UsedBytes: &runtime.UInt64Value{Value: usedBytes},
|
||||
InodesUsed: &runtime.UInt64Value{Value: inodesUsed},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user