From 7b277f62cce939fca8fec4edb8c4b719e492dbeb Mon Sep 17 00:00:00 2001 From: Djordje Lukic Date: Thu, 24 Mar 2022 19:02:42 +0100 Subject: [PATCH] Remove comment that is no longer relevant The #42511 PR removed layer store indexing by OS but this comment was left behind Signed-off-by: Djordje Lukic --- daemon/images/service.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/daemon/images/service.go b/daemon/images/service.go index 1b961f5772..6216d413b3 100644 --- a/daemon/images/service.go +++ b/daemon/images/service.go @@ -140,8 +140,6 @@ func (i *ImageService) CreateLayer(container *container.Container, initFunc laye StorageOpt: container.HostConfig.StorageOpt, } - // Indexing by OS is safe here as validation of OS has already been performed in create() (the only - // caller), and guaranteed non-nil return i.layerStore.CreateRWLayer(container.ID, layerID, rwLayerOpts) }