Skip to content

Commit

Permalink
Fix newline and roll release 0.3.1
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Campbell <[email protected]>
  • Loading branch information
Todd Campbell committed Dec 30, 2020
1 parent 9474367 commit 9347e99
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ Versioning](http://semver.org/spec/v2.0.0.html).

## Unreleased

## [0.3.1] - 2020-12-30

### Changed
- Added newline to end of UNKNOWN error output

## [0.3.0] - 2020-12-30

### Changed
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func executeCheck(event *types.Event) (int, error) {
if plugin.FailOnError {
return sensu.CheckStateCritical, fmt.Errorf("Failed to get disk usage for %s, error: %v", device, err)
}
fmt.Printf("%s UNKNOWN: %s - error: %v", plugin.PluginConfig.Name, device, err)
fmt.Printf("%s UNKNOWN: %s - error: %v\n", plugin.PluginConfig.Name, device, err)
continue
}

Expand Down

0 comments on commit 9347e99

Please sign in to comment.