Explorar o código

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

c8d: Remove the panic from UpdateConfig
Sebastiaan van Stijn hai 1 ano
pai
achega
78ccd5d07c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      daemon/containerd/service.go

+ 1 - 1
daemon/containerd/service.go

@@ -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.