From da3281c4747616466833d59db20c8734f764a61b Mon Sep 17 00:00:00 2001 From: Amine Hilaly Date: Thu, 6 Jun 2019 01:05:38 +0200 Subject: Sort bridges list --- bridge/core/bridge.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bridge/core/bridge.go') diff --git a/bridge/core/bridge.go b/bridge/core/bridge.go index aa02ceb5..42730bf6 100644 --- a/bridge/core/bridge.go +++ b/bridge/core/bridge.go @@ -5,6 +5,7 @@ import ( "fmt" "reflect" "regexp" + "sort" "strings" "time" @@ -48,6 +49,8 @@ func Targets() []string { result = append(result, key) } + sort.Strings(result) + return result } -- cgit