Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
torgiren
External Dns
Commits
f7a8aa16
Commit
f7a8aa16
authored
7 years ago
by
ideahitme
Browse files
Options
Download
Email Patches
Plain Diff
fix wrong parameter order passed to generate a source
parent
aa17c342
hotfix/swap-parameters
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/store.go
+2
-2
source/store.go
with
2 additions
and
2 deletions
+2
-2
source/store.go
+
2
-
2
View file @
f7a8aa16
...
...
@@ -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
.
Namespac
e
,
cfg
.
Compatibility
)
return
NewServiceSource
(
client
,
cfg
.
Namespace
,
cfg
.
FQDNTemplat
e
,
cfg
.
Compatibility
)
case
"ingress"
:
client
,
err
:=
p
.
KubeClient
()
if
err
!=
nil
{
return
nil
,
err
}
return
NewIngressSource
(
client
,
cfg
.
FQDNTemplate
,
cfg
.
Namespac
e
)
return
NewIngressSource
(
client
,
cfg
.
Namespace
,
cfg
.
FQDNTemplat
e
)
case
"fake"
:
return
NewFakeSource
(
cfg
.
FQDNTemplate
)
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help