Skip to content

Commit

Permalink
fix typo in lambda log message
Browse files Browse the repository at this point in the history
  • Loading branch information
lhitchon committed Apr 1, 2018
1 parent 4faa890 commit 8968626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lambda/lambda.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,13 @@ func handler(configEvent events.ConfigEvent) (string, error) {
return "Error", err
}
if len(violations) > 0 {
fmt.Println("Resource in NON_COMPLIANT")
fmt.Println("Resource is NON_COMPLIANT")
complianceType = "NON_COMPLIANT"
for _, violation := range violations {
fmt.Println(violation)
}
} else {
fmt.Println("Resource in COMPLIANT")
fmt.Println("Resource is COMPLIANT")
complianceType = "COMPLIANT"
}
} else {
Expand Down

0 comments on commit 8968626

Please sign in to comment.