fix/TD-31891-remove-void-monitor3-fix-case
This commit is contained in:
parent
82962c5811
commit
9f3990b8ed
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue