Przeglądaj źródła

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

c8d: Remove the panic from UpdateConfig
Sebastiaan van Stijn 1 rok temu
rodzic
commit
78ccd5d07c
1 zmienionych plików z 1 dodań i 1 usunięć
  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
 // called from reload.go
 func (i *ImageService) UpdateConfig(maxDownloads, maxUploads int) {
 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.
 // GetLayerFolders returns the layer folders from an image RootFS.