1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/plugin
Sebastiaan van Stijn 45fa675a35
if-return: redundant if ...; err != nil check (revive)
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 dd1374f7b2)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-08-17 18:12:02 +02:00
..
executor/containerd Configure shims from runtime config 2020-07-13 14:18:02 -07:00
v2 gosec: G601: Implicit memory aliasing in for loop 2022-08-17 18:10:55 +02:00
backend_linux.go Use docker media type for plugin layers 2021-04-06 16:52:54 +00:00
backend_linux_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
backend_unsupported.go Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
defs.go goimports: fix imports 2019-09-18 12:56:54 +02:00
errors.go Add canonical import comment 2018-02-05 16:51:57 -05:00
events.go Add canonical import comment 2018-02-05 16:51:57 -05:00
fetch_linux.go if-return: redundant if ...; err != nil check (revive) 2022-08-17 18:12:02 +02:00
manager.go Do not call mount.RecursiveUnmount() on Windows 2020-10-29 23:00:16 +01:00
manager_linux.go Do not call mount.RecursiveUnmount() on Windows 2020-10-29 23:00:16 +01:00
manager_linux_test.go plugin/manager_linux_test: Skip privileged tests when non-root 2020-12-15 09:48:06 +07:00
manager_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
manager_windows.go Do not call mount.RecursiveUnmount() on Windows 2020-10-29 23:00:16 +01:00
progress.go Use containerd dist libs for plugin pull/pull 2020-04-02 15:03:06 -07:00
registry.go Use containerd dist libs for plugin pull/pull 2020-04-02 15:03:06 -07:00
store.go Merge pull request #40867 from BurtonQin/double-lock 2020-05-15 18:07:39 +02:00
store_test.go goimports: fix imports 2019-09-18 12:56:54 +02:00