(exit.Error).Wrap => (exit.Error).WrapError
This commit moves from the deprecated (exit.Error).Wrap function to the (exit.Error).WrapError instead.
This commit is contained in:
parent
7763644ebe
commit
d268728f7d
20 changed files with 49 additions and 49 deletions
|
|
@ -33,7 +33,7 @@ var errStatusGeneric = exit.Error{
|
|||
func (s cStatus) Run(context wisski_distillery.Context) error {
|
||||
status, _, err := context.Environment.Info().Status(context.Context, true)
|
||||
if err != nil {
|
||||
return errStatusGeneric.Wrap(err)
|
||||
return errStatusGeneric.WrapError(err)
|
||||
}
|
||||
|
||||
if s.JSON {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue