Skip to content

Commit

Permalink
fix flake (istio#16753)
Browse files Browse the repository at this point in the history
  • Loading branch information
hzxuzhonghu authored and istio-testing committed Sep 2, 2019
1 parent cda495f commit 53eb22f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pilot/pkg/networking/core/v1alpha3/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ package v1alpha3

import (
"fmt"
"sort"
"strconv"
"strings"

Expand Down Expand Up @@ -821,5 +822,7 @@ func getSNIHostsForServer(server *networking.Server) []string {
for host := range sniHosts {
sniHostsSlice = append(sniHostsSlice, host)
}
sort.Strings(sniHostsSlice)

return sniHostsSlice
}

0 comments on commit 53eb22f

Please sign in to comment.