Skip to content

Commit

Permalink
chore(pkg/driverbuilder): log warn if no download script was generated
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Jemmett <1787979+acidghost@users.noreply.github.com>
  • Loading branch information
acidghost authored and poiana committed Aug 20, 2024
1 parent cf1eed3 commit 3633363
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/driverbuilder/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ func (lbp *LocalBuildProcessor) Start(b *builder.Build) error {
} else {
lbp.Logger.Warn("Failed to download headers.", lbp.Logger.Args("err", err))
}
} else {
lbp.Logger.Warn("Failed to generate script.", lbp.Logger.Args("err", err))
}
} else {
lbp.Logger.Info("Skipping kernel headers automatic download.", lbp.Logger.Args("err", err))
Expand Down

0 comments on commit 3633363

Please sign in to comment.