mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
45fa675a35
builder/builder-next/adapters/snapshot/snapshot.go:386:3: if-return: redundant if ...; err != nil check, just return error instead. (revive)
if err := b.Put(keyIsCommitted, []byte{}); err != nil {
return err
}
plugin/fetch_linux.go:112:2: if-return: redundant if ...; err != nil check, just return error instead. (revive)
if err := images.Dispatch(ctx, images.Handlers(handlers...), nil, desc); err != nil {
return err
}
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit
|
||
---|---|---|
.. | ||
executor/containerd | ||
v2 | ||
backend_linux.go | ||
backend_linux_test.go | ||
backend_unsupported.go | ||
defs.go | ||
errors.go | ||
events.go | ||
fetch_linux.go | ||
manager.go | ||
manager_linux.go | ||
manager_linux_test.go | ||
manager_test.go | ||
manager_windows.go | ||
progress.go | ||
registry.go | ||
store.go | ||
store_test.go |