Skip to content

Commit

Permalink
Merge pull request #162 from weaveworks/fix-vs
Browse files Browse the repository at this point in the history
Fix duplicate hosts error when using wildcard
  • Loading branch information
stefanprodan authored May 2, 2019
2 parents ad25068 + c92230c commit e477b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/router/istio.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (ir *IstioRouter) Reconcile(canary *flaggerv1.Canary) error {
hosts := canary.Spec.Service.Hosts
var hasServiceHost bool
for _, h := range hosts {
if h == targetName {
if h == targetName || h == "*" {
hasServiceHost = true
break
}
Expand Down

0 comments on commit e477b37

Please sign in to comment.