mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-10 10:53:36 +02:00
fix duplicated routes not being shown
This commit is contained in:
@@ -163,7 +163,7 @@ func (cfg *AgentConfig) Name() string {
|
||||
}
|
||||
|
||||
func (cfg *AgentConfig) String() string {
|
||||
return "agent@" + cfg.Addr
|
||||
return cfg.name + "@" + cfg.Addr
|
||||
}
|
||||
|
||||
func (cfg *AgentConfig) MarshalJSON() ([]byte, error) {
|
||||
|
||||
Reference in New Issue
Block a user