mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Handle nil WritableLayer
This commit is contained in:
parent
0b1f806557
commit
aee1e58d58
@ -258,7 +258,7 @@ func (p *criStatsProvider) makeContainerStats(
|
||||
result.Rootfs.InodesUsed = &stats.WritableLayer.InodesUsed.Value
|
||||
}
|
||||
}
|
||||
storageID := stats.WritableLayer.StorageId
|
||||
storageID := stats.GetWritableLayer().GetStorageId()
|
||||
if storageID != nil {
|
||||
imageFsInfo, found := uuidToFsInfo[*storageID]
|
||||
if !found {
|
||||
|
Loading…
Reference in New Issue
Block a user