fix/TD-31891-remove-void-monitor3-fix-case

This commit is contained in:
dmchen 2024-09-25 01:10:24 +00:00
parent 82962c5811
commit 9f3990b8ed
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ static void monGenBasicJson(SMonInfo *pMonitor) {
SJson *pJson = pMonitor->pJson;
char buf[40] = {0};
if (taosFormatUtcTime(buf, sizeof(buf), pMonitor->curTime, TSDB_TIME_PRECISION_MILLI) == 0) {
if (taosFormatUtcTime(buf, sizeof(buf), pMonitor->curTime, TSDB_TIME_PRECISION_MILLI) != 0) {
uError("failed to format time");
return;
}