Skip to content

Commit

Permalink
Merge pull request #56 from NETWAYS/fix-golangci-lint
Browse files Browse the repository at this point in the history
Fix lint issues
  • Loading branch information
martialblog committed Jan 5, 2023
2 parents 80460f3 + 3a089ac commit ceb5f04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .golangci.yml
@@ -1,5 +1,7 @@
run:
deadline: 1m
skip-files:
- '(.+)_test\.go'

linters:
disable-all: false
Expand Down
1 change: 1 addition & 0 deletions result/overall.go
Expand Up @@ -37,6 +37,7 @@ func (s *PartialResult) String() string {
if len(s.Perfdata) == 0 {
return fmt.Sprintf("[%s] %s", check.StatusText(s.State), s.Output)
}

return fmt.Sprintf("[%s] %s|%s", check.StatusText(s.State), s.Output, s.Perfdata.String())
}

Expand Down

0 comments on commit ceb5f04

Please sign in to comment.