Fix container counters metrics removal #941
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ func (e *StorageEngine) processZeroCountContainers(ctx context.Context, ids []ci
|
||||||
}
|
}
|
||||||
|
|
||||||
for id := range idMap {
|
for id := range idMap {
|
||||||
if err := sh.DeleteContainerSize(ctx, id); err != nil {
|
if err := sh.DeleteContainerCount(ctx, id); err != nil {
|
||||||
e.log.Warn(logs.EngineFailedToDeleteContainerSize, zap.Stringer("container_id", id), zap.Error(err))
|
e.log.Warn(logs.EngineFailedToDeleteContainerSize, zap.Stringer("container_id", id), zap.Error(err))
|
||||||
failed = true
|
failed = true
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in a new issue