Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kevin Lyda
cashier
Commits
da91a495
Commit
da91a495
authored
Aug 01, 2016
by
Niall Sheridan
Browse files
fix build
parent
04aeda21
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/store/mongo.go
View file @
da91a495
...
...
@@ -32,6 +32,7 @@ func parseMongoConfig(config string) *mgo.DialInfo {
return
d
}
// NewMongoStore returns a MongoDB CertStorer.
func
NewMongoStore
(
config
string
)
(
CertStorer
,
error
)
{
session
,
err
:=
mgo
.
DialWithInfo
(
parseMongoConfig
(
config
))
if
err
!=
nil
{
...
...
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