containerd: include zfs plugin by default

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day
2018-02-02 17:05:53 -08:00
parent b307df2723
commit f4113a903a
28 changed files with 2730 additions and 0 deletions

18
vendor/github.com/mistifyio/go-zfs/error.go generated vendored Normal file
View File

@@ -0,0 +1,18 @@
package zfs
import (
"fmt"
)
// Error is an error which is returned when the `zfs` or `zpool` shell
// commands return with a non-zero exit code.
type Error struct {
Err error
Debug string
Stderr string
}
// Error returns the string representation of an Error.
func (e Error) Error() string {
return fmt.Sprintf("%s: %q => %s", e.Err, e.Debug, e.Stderr)
}