Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b2805d7

Browse files
committed
fe: set runid = NA if empty
1 parent a83df56 commit b2805d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/fe/assets/dashboard-fe.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,8 @@ function processSentinels(codis_stats, group_stats, codis_name) {
367367
}
368368
for (var runid in runids) {
369369
if (g.runids[runid] === undefined) {
370-
x.runid_error = "group=" + g.id + ",server=" + runids[runid] + ",runid=" + runid;
370+
x.runid_error = "group=" + g.id + ",server=" + runids[runid] + ",runid="
371+
+ ((runid != "") ? runid : "NA");
371372
}
372373
}
373374
for (var runid in g.runids) {

0 commit comments

Comments
 (0)