Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

Commit

Permalink
Fix staticcheck issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cespare committed Sep 1, 2021
1 parent 1a03086 commit 1f05673
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apachelog/apachelog.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ type parsedFormat struct {
}

func formatProvidedError(format byte) error {
return fmt.Errorf("Format %%%c doesn't take a custom formatter.", format)
return fmt.Errorf("format %%%c doesn't take a custom formatter", format)
}

func newParsedFormat(format string) (*parsedFormat, error) {
Expand Down Expand Up @@ -158,7 +158,7 @@ outer:
case 'U':
ch = pathChunk
default:
return nil, fmt.Errorf("Unrecognized format code: %%%c", c)
return nil, fmt.Errorf("unrecognized format code: %%%c", c)
}
}

Expand Down

0 comments on commit 1f05673

Please sign in to comment.