Skip to content
This repository was archived by the owner on Jul 19, 2022. It is now read-only.

Commit

Permalink
new release
Browse files Browse the repository at this point in the history
  • Loading branch information
betorvs committed Apr 16, 2021
1 parent 052cc1c commit 3c5943d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Versioning](http://semver.org/spec/v2.0.0.html).
### Changed
- Update Readme
- Both flags `--heartbeat` and `--remediation-events` discard any event with status `!= 0`.
- update golang to 1.16

## [1.0.3] - 2021-04-01
### Added
Expand Down
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,9 @@ func checkArgs(_ *types.Event) error {
// if len(plugin.Team) == 0 {
// return fmt.Errorf("team is empty")
// }
if plugin.HeartbeatEvents && plugin.RemediationEvents {
return fmt.Errorf("Cannot enable both options: --heartbeat and --remediation-events ")
}
return nil
}

Expand Down

0 comments on commit 3c5943d

Please sign in to comment.