Merge pull request #46433 from rumpl/c8d-remove-panic

c8d: Remove the panic from UpdateConfig
This commit is contained in:
Sebastiaan van Stijn 2023-09-08 15:17:53 +02:00 committed by GitHub
commit 78ccd5d07c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,7 +142,7 @@ func (i *ImageService) LayerDiskUsage(ctx context.Context) (int64, error) {
//
// called from reload.go
func (i *ImageService) UpdateConfig(maxDownloads, maxUploads int) {
panic("not implemented")
log.G(context.TODO()).Warn("max downloads and uploads is not yet implemented with the containerd store")
}
// GetLayerFolders returns the layer folders from an image RootFS.