Sfoglia il codice sorgente

Display worker url in listWorkers

jiegec 5 anni fa
parent
commit
3fd71d777b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      manager/server.go

+ 2 - 0
manager/server.go

@@ -204,6 +204,8 @@ func (s *Manager) listWorkers(c *gin.Context) {
 		workerInfos = append(workerInfos,
 			WorkerStatus{
 				ID:           w.ID,
+				URL:          w.URL,
+				Token:        "REDACTED",
 				LastOnline:   w.LastOnline,
 				LastRegister: w.LastRegister,
 			})