daemon/disk_usage.go
Method Daemon.SystemDiskUsage
has 6 return statements (exceeds 4 allowed). Open
Open
func (daemon *Daemon) SystemDiskUsage(ctx context.Context, opts system.DiskUsageOptions) (*types.DiskUsage, error) {
eg, ctx := errgroup.WithContext(ctx)
var containers []*container.Summary
if opts.Containers {