Skip to content

Commit

Permalink
Fix compatibility with the latest version of ek package
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Oct 21, 2024
1 parent fd7e9d2 commit 5e46808
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

"github.com/essentialkaos/ek/v13/cache"
"github.com/essentialkaos/ek/v13/cache/memory"
"github.com/essentialkaos/ek/v13/errutil"
"github.com/essentialkaos/ek/v13/errors"
"github.com/essentialkaos/ek/v13/fmtc"
"github.com/essentialkaos/ek/v13/knf"
"github.com/essentialkaos/ek/v13/log"
Expand Down Expand Up @@ -115,7 +115,7 @@ func Run(gomod []byte) {

if !errs.IsEmpty() {
terminal.Error("Options parsing errors:")
terminal.Error(errs.String())
terminal.Error(errs.Error("- "))
os.Exit(1)
}

Expand All @@ -136,7 +136,7 @@ func Run(gomod []byte) {
os.Exit(0)
}

err := errutil.Chain(
err := errors.Chain(
loadConfig,
validateConfig,
configureRuntime,
Expand All @@ -152,7 +152,7 @@ func Run(gomod []byte) {
log.Divider()
log.Aux("%s %s starting…", APP, VER)

err = errutil.Chain(
err = errors.Chain(
setupCache,
setupGenerator,
setupAPIClient,
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/andybalholm/brotli v1.1.1 // indirect
github.com/essentialkaos/depsy v1.3.1 // indirect
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
github.com/klauspost/compress v1.17.10 // indirect
github.com/klauspost/compress v1.17.11 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
golang.org/x/image v0.21.0 // indirect
golang.org/x/sys v0.26.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ github.com/essentialkaos/go-badge v1.4.1 h1:ZtPY1VzukuK51ryYnOrh8vIUBcSdsNJRL8GG
github.com/essentialkaos/go-badge v1.4.1/go.mod h1:CwkvOc0vEK7OnTPNsl9Jx2nxzPakzZl9/ak6GvRFyQA=
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 h1:DACJavvAHhabrF08vX0COfcOBJRhZ8lUbR+ZWIs0Y5g=
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k=
github.com/klauspost/compress v1.17.10 h1:oXAz+Vh0PMUvJczoi+flxpnBEPxoER1IaAnU/NMPtT0=
github.com/klauspost/compress v1.17.10/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0=
github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc=
github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
Expand Down

0 comments on commit 5e46808

Please sign in to comment.