Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ai3
accountserver
Commits
233928c0
Commit
233928c0
authored
Jun 30, 2018
by
ale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix yaml inline decoding
parent
1ef2b30d
Pipeline
#1026
passed with stages
in 1 minute and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cmd/accountserver/main.go
cmd/accountserver/main.go
+2
-2
No files found.
cmd/accountserver/main.go
View file @
233928c0
...
...
@@ -28,7 +28,7 @@ type config struct {
BindPwFile
string
`yaml:"bind_pw_file"`
BaseDN
string
`yaml:"base_dn"`
}
`yaml:"ldap"`
AccountServerConfig
*
accountserver
.
Config
`yaml:",inline"`
AccountServerConfig
accountserver
.
Config
`yaml:",inline"`
ServerConfig
*
serverutil
.
ServerConfig
`yaml:"http_server"`
}
...
...
@@ -108,7 +108,7 @@ func main() {
log
.
Fatal
(
err
)
}
service
,
err
:=
accountserver
.
NewAccountService
(
be
,
config
.
AccountServerConfig
)
service
,
err
:=
accountserver
.
NewAccountService
(
be
,
&
config
.
AccountServerConfig
)
if
err
!=
nil
{
log
.
Fatal
(
err
)
}
...
...
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