diff options
author | Amine Hilaly <hilalyamine@gmail.com> | 2019-06-06 01:05:38 +0200 |
---|---|---|
committer | Amine Hilaly <hilalyamine@gmail.com> | 2019-06-06 01:05:38 +0200 |
commit | da3281c4747616466833d59db20c8734f764a61b (patch) | |
tree | 15565bc81484ec70170c0e75d9b5ab45da8b7082 /bridge/core/bridge.go | |
parent | 8bfc65df6c4db01e74e5793fb4da402078b37648 (diff) | |
download | git-bug-da3281c4747616466833d59db20c8734f764a61b.tar.gz |
Sort bridges list
Diffstat (limited to 'bridge/core/bridge.go')
-rw-r--r-- | bridge/core/bridge.go | 3 |
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 } |