Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Campbell <todd@sensu.io>
  • Loading branch information
Todd Campbell committed Aug 21, 2020
1 parent c4bb49d commit 2f7eb64
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ func getSummary(event *corev2.Event) (string, error) {
func getDetails(event *corev2.Event) (interface{}, error) {
var (
details interface{}
err error
err error
)

if len(config.detailsTemplate) > 0 {
Expand Down
1 change: 0 additions & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,3 @@ func Test_GetDetailsTemplate(t *testing.T) {
assert.Nil(t, err)
assert.Equal(t, "foo-bar", details)
}

0 comments on commit 2f7eb64

Please sign in to comment.