Commit Graph

5 Commits

Author SHA1 Message Date
Kir Kolyshkin 83c0c077c5 all: remove old-style +build tags
Brought to you by

	go fix ./...

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2024-09-19 17:00:48 -07:00
Sascha Grunert 3455d12729
Switch to golang native error wrapping
We now use the golang error wrapping format specifier `%w` instead of the
deprecated github.com/pkg/errors package.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-07-07 13:22:46 +02:00
Sascha Grunert d88ef6dc08
Enable goimports linter and fix lints
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-01-28 15:59:15 +01:00
Nalin Dahyabhai d90d9e45cf Restore details to "overlay not supported" errors
Revert the mistaken change to wrap graphdriver.ErrNotSupported instead
of the error returned by supportsOverlay(), when it returns an error, so
that text describing exactly why overlay isn't supported will be
returned to our caller.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2018-03-22 14:49:29 -04:00
Daniel J Walsh 7cbf1ed8c5 Backport moby overlay driver changes to containers/storage
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2017-09-26 20:45:15 +00:00