File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -759,7 +759,7 @@ function updateMenuJudgehosts(data)
759759 sendNotification ( 'Judgehost down.' ,
760760 { 'tag' : 'host_' + data [ i ] . hostname + '@' +
761761 Math . floor ( data [ i ] . polltime ) ,
762- 'link' : domjudge_base_url + '/jury/judgehosts/' + encodeURIComponent ( data [ i ] . hostname ) ,
762+ 'link' : domjudge_base_url + '/jury/judgehosts/' + encodeURIComponent ( data [ i ] . judgehostid ) ,
763763 'body' : data [ i ] . hostname + ' is down' } ) ;
764764 }
765765 }
Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ public function getUpdates(): array
370370 }
371371
372372 $ judgehosts = $ this ->em ->createQueryBuilder ()
373- ->select ('j.hostname ' , 'j.polltime ' )
373+ ->select ('j.judgehostid ' , ' j. hostname ' , 'j.polltime ' )
374374 ->from (Judgehost::class, 'j ' )
375375 ->andWhere ('j.enabled = 1 ' )
376376 ->andWhere ('j.hidden = 0 ' )
You can’t perform that action at this time.
0 commit comments