Skip to content

Commit

Permalink
fix(source): use correct order of parameters (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
linki authored Jul 28, 2017
1 parent aa17c34 commit eb0d6ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ func BuildWithConfig(source string, p ClientGenerator, cfg *Config) (Source, err
if err != nil {
return nil, err
}
return NewServiceSource(client, cfg.FQDNTemplate, cfg.Namespace, cfg.Compatibility)
return NewServiceSource(client, cfg.Namespace, cfg.FQDNTemplate, cfg.Compatibility)
case "ingress":
client, err := p.KubeClient()
if err != nil {
return nil, err
}
return NewIngressSource(client, cfg.FQDNTemplate, cfg.Namespace)
return NewIngressSource(client, cfg.Namespace, cfg.FQDNTemplate)
case "fake":
return NewFakeSource(cfg.FQDNTemplate)
}
Expand Down

0 comments on commit eb0d6ee

Please sign in to comment.