support generating new image with separate blob for prefetched files #3379
Annotations
10 errors
Lint:
contrib/nydusify/pkg/optimizer/builder.go#L73
var-naming: var BlobId should be BlobID (revive)
|
Lint:
contrib/nydusify/pkg/optimizer/builder.go#L75
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
|
Lint:
contrib/nydusify/pkg/optimizer/builder.go#L30
type `outputJSON` is unused (unused)
|
Lint:
contrib/nydusify/pkg/optimizer/optimizer.go#L357
appends: append with no values (govet)
|
Lint:
contrib/nydusify/pkg/optimizer/optimizer.go#L307
copylocks: literal copies lock value from *remoter: github.com/dragonflyoss/nydus/contrib/nydusify/pkg/remote.Remote contains sync.Map contains sync.Mutex (govet)
|
Lint:
contrib/nydusify/pkg/optimizer/optimizer.go#L314
copylocks: call of pushNewImage copies lock value: github.com/dragonflyoss/nydus/contrib/nydusify/pkg/optimizer.BuildInfo contains github.com/dragonflyoss/nydus/contrib/nydusify/pkg/remote.Remote contains sync.Map contains sync.Mutex (govet)
|
Lint:
contrib/nydusify/pkg/optimizer/optimizer.go#L321
copylocks: pushBlob passes lock by value: github.com/dragonflyoss/nydus/contrib/nydusify/pkg/optimizer.BuildInfo contains github.com/dragonflyoss/nydus/contrib/nydusify/pkg/remote.Remote contains sync.Map contains sync.Mutex (govet)
|
Lint:
contrib/nydusify/pkg/optimizer/optimizer.go#L324
copylocks: assignment copies lock value to remoter: github.com/dragonflyoss/nydus/contrib/nydusify/pkg/remote.Remote contains sync.Map contains sync.Mutex (govet)
|
Lint:
contrib/nydusify/pkg/optimizer/optimizer.go#L354
copylocks: pushCompoundBootstrap passes lock by value: github.com/dragonflyoss/nydus/contrib/nydusify/pkg/optimizer.BuildInfo contains github.com/dragonflyoss/nydus/contrib/nydusify/pkg/remote.Remote contains sync.Map contains sync.Mutex (govet)
|
Lint:
contrib/nydusify/pkg/optimizer/optimizer.go#L440
copylocks: pushConfig passes lock by value: github.com/dragonflyoss/nydus/contrib/nydusify/pkg/optimizer.BuildInfo contains github.com/dragonflyoss/nydus/contrib/nydusify/pkg/remote.Remote contains sync.Map contains sync.Mutex (govet)
|
Loading