Skip to content

Commit

Permalink
Minor code update
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Hughes <[email protected]>
  • Loading branch information
sbuliarca and matthewhughes-uw authored Nov 6, 2024
1 parent 61ffce2 commit 79a63d2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rules/msk_topic_config_comments.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,7 @@ func (r *MSKTopicConfigCommentsRule) validateByteConfigValue(
return nil
}

if err = r.reportHumanReadableComment(runner, dataPair, key, msg); err != nil {
return err
}
return nil
return r.reportHumanReadableComment(runner, dataPair, key, msg)
}

func (r *MSKTopicConfigCommentsRule) reportHumanReadableComment(
Expand Down

0 comments on commit 79a63d2

Please sign in to comment.