Skip to content

Commit

Permalink
Use equalsIgnoreCase (#18810)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdpgrailsdev authored Nov 1, 2022
1 parent b5adaef commit b14bd05
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ boolean isExitTrace(final MutableSpan trace) {
return false;

return trace.isError() &&
EXIT_ERROR_MESSAGE.equals(trace.getTags().getOrDefault(ERROR_MESSAGE_TAG_KEY, "")) &&
CONNECTION_MANAGER_WORKFLOW_IMPL_RESOURCE_NAME.equals(trace.getResourceName());
EXIT_ERROR_MESSAGE.equalsIgnoreCase(trace.getTags().getOrDefault(ERROR_MESSAGE_TAG_KEY, "").toString()) &&
CONNECTION_MANAGER_WORKFLOW_IMPL_RESOURCE_NAME.equalsIgnoreCase(trace.getResourceName().toString());
}

}

0 comments on commit b14bd05

Please sign in to comment.