Skip to content

Commit

Permalink
compare all lower
Browse files Browse the repository at this point in the history
  • Loading branch information
aalu1418 committed Apr 1, 2024
1 parent 850978f commit f5fe2d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gauntlet/gauntlet.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func (g *Gauntlet) WriteNetworkConfigMap(networkDirPath string) error {
// checkForErrors Loops through provided err slice to see if the error exists in the output.
func checkForErrors(errHandling []string, line string) error {
for _, e := range errHandling {
if strings.Contains(line, e) {
if strings.Contains(strings.ToLower(line), strings.ToLower(e)) {
log.Debug().Str("Error", line).Msg("Gauntlet Error Found")
return fmt.Errorf("found a gauntlet error")
}
Expand Down

0 comments on commit f5fe2d8

Please sign in to comment.