Skip to content

Commit

Permalink
[INLONG-11491][SDK] Fix the judgment error of onMessageAck function i…
Browse files Browse the repository at this point in the history
…n MetricSendCallBack class (#11492)
  • Loading branch information
gosonzhang authored Nov 13, 2024
1 parent 28c3c6b commit ddaff24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public int getRetryCount() {

@Override
public void onMessageAck(SendResult result) {
if (!SendResult.OK.equals(result)) {
if (SendResult.OK.equals(result)) {
logger.debug("Send metric is ok!");
} else {
tryToSendMetricToManager(encodeObject, this);
Expand Down

0 comments on commit ddaff24

Please sign in to comment.