Skip to content

Commit

Permalink
ensure propagated logger is used
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Wolf <[email protected]>
  • Loading branch information
joshrwolf committed Sep 20, 2023
1 parent e9722fc commit ad786f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ func (o *Options) Summarize(logger log.Logger) {
}

func (o *Options) Logger() log.Logger {
if o.Log != nil {
return o.Log
}
fields := log.Fields{}
emptyArch := types.Architecture("")

Expand Down

0 comments on commit ad786f8

Please sign in to comment.