mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	多个API节点时选择一个作为主节点
This commit is contained in:
		@@ -92,6 +92,7 @@ func (this *IndexAction) RunGet(params struct{}) {
 | 
			
		||||
				"name":            node.Name,
 | 
			
		||||
				"accessAddrs":     node.AccessAddrs,
 | 
			
		||||
				"restAccessAddrs": restAccessAddrs,
 | 
			
		||||
				"isPrimary":       node.IsPrimary,
 | 
			
		||||
				"status": maps.Map{
 | 
			
		||||
					"isActive":     status.IsActive,
 | 
			
		||||
					"updatedAt":    status.UpdatedAt,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user