Skip to content

Commit

Permalink
Merge pull request #43422 from rumpl/remove-os-index-comment
Browse files Browse the repository at this point in the history
Remove comment that is no longer relevant
  • Loading branch information
AkihiroSuda committed Mar 25, 2022
2 parents 56ea588 + 7b277f6 commit 94bb599
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions daemon/images/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 94bb599

Please sign in to comment.