Skip to content

Commit

Permalink
fix(kraft): Add better error guidance for version checks (#730)
Browse files Browse the repository at this point in the history
Reviewed-by: Jakub Ciolek <jakub@unikraft.io>
Reviewed-by: Alexander Jung <alex@unikraft.io>
Approved-by: Alexander Jung <alex@unikraft.io>
  • Loading branch information
nderjung authored Aug 23, 2023
2 parents d39b3e7 + 89b4cb9 commit bbfbfc8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd/kraft/kraft.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,12 @@ func main() {
if !config.G[config.KraftKit](ctx).NoCheckUpdates {
if err := kitupdate.Check(ctx); err != nil {
log.G(ctx).Debugf("could not check for updates: %v", err)
log.G(ctx).Debug("")
log.G(ctx).Debug("to turn off this check, set:")
log.G(ctx).Debug("")
log.G(ctx).Debug("\texport KRAFTKIT_NO_CHECK_UPDATES=true")
log.G(ctx).Debug("")
log.G(ctx).Debug("or use the globally accessible flag '--no-check-updates'")
}
}

Expand Down

0 comments on commit bbfbfc8

Please sign in to comment.