diff --git a/plugin/plugin.go b/plugin/plugin.go index f7d4bb6..a2b3e9a 100644 --- a/plugin/plugin.go +++ b/plugin/plugin.go @@ -52,7 +52,7 @@ func init() { ic.Meta.Exports["root"] = root snapshotter, err := zfs.NewSnapshotter(root) if err != nil { - return nil, fmt.Errorf("%s: %w", plugin.ErrSkipPlugin.Error(), err) + return nil, fmt.Errorf("%s: %w", err.Error(), plugin.ErrSkipPlugin) } return snapshotter, nil },