Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ahrav committed Nov 15, 2024
1 parent 240039a commit 26ef427
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/handlers/rpm.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ func (h *rpmHandler) HandleFile(ctx logContext.Context, input fileReader) (chan
start := time.Now()
rpm, err := rpmutils.ReadRpm(input)
if err != nil {
ctx.Logger().Error(err, "Error reading rpm file")
ctx.Logger().Error(err, "error reading rpm file")
return
}

reader, err := rpm.PayloadReaderExtended()
if err != nil {
ctx.Logger().Error(err, "Error reading rpm file")
ctx.Logger().Error(err, "error reading rpm payload")
return
}

Expand Down

0 comments on commit 26ef427

Please sign in to comment.