aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/core/bridge.go
diff options
context:
space:
mode:
authorAmine Hilaly <hilalyamine@gmail.com>2019-06-06 01:05:38 +0200
committerAmine Hilaly <hilalyamine@gmail.com>2019-06-06 01:05:38 +0200
commitda3281c4747616466833d59db20c8734f764a61b (patch)
tree15565bc81484ec70170c0e75d9b5ab45da8b7082 /bridge/core/bridge.go
parent8bfc65df6c4db01e74e5793fb4da402078b37648 (diff)
downloadgit-bug-da3281c4747616466833d59db20c8734f764a61b.tar.gz
Sort bridges list
Diffstat (limited to 'bridge/core/bridge.go')
-rw-r--r--bridge/core/bridge.go3
1 files changed, 3 insertions, 0 deletions
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
}