Merge pull request #43422 from rumpl/remove-os-index-comment

Remove comment that is no longer relevant
This commit is contained in:
Akihiro Suda 2022-03-25 13:20:08 +09:00 committed by GitHub
commit 94bb5992a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
}