util: Port all code to new errwrap package
This should keep things more uniform.
This commit is contained in:
@@ -24,7 +24,7 @@ import (
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
errwrap "github.com/pkg/errors"
|
||||
"github.com/purpleidea/mgmt/util/errwrap"
|
||||
)
|
||||
|
||||
// ExpandHome does an expansion of ~/ or ~james/ into user's home dir value.
|
||||
|
||||
@@ -29,7 +29,8 @@ import (
|
||||
"strings"
|
||||
"syscall"
|
||||
|
||||
errwrap "github.com/pkg/errors"
|
||||
"github.com/purpleidea/mgmt/util/errwrap"
|
||||
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user