mirror of https://github.com/perkeep/perkeep.git
gofmt
Change-Id: Ib9aca9d648317f1f17fce0e5e7dba5315a95c274
This commit is contained in:
parent
13f85afe8c
commit
d2e2652eea
1
AUTHORS
1
AUTHORS
|
@ -12,6 +12,7 @@ Iain Peet <iain.peet@gmail.com> <iain@ipeet.org>
|
|||
Jrabbit <jackjrabbit@gmail.com>
|
||||
Julien Danjou <julien@danjou.info>
|
||||
Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
|
||||
Maxime Lavigne <duguigne@gmail.com>
|
||||
Philio <phil@bayfmail.com>
|
||||
Ranveer <ranveerkunal@gmail.com>
|
||||
Robert Hencke <robert.hencke@gmail.com>
|
||||
|
|
|
@ -27,6 +27,7 @@ Jrabbit <jackjrabbit@gmail.com>
|
|||
Julien Danjou <julien@danjou.info>
|
||||
Lindsey Simon <lsimon@commoner.com>
|
||||
Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
|
||||
Maxime Lavigne <duguigne@gmail.com>
|
||||
Nigel Tao <nigeltao@golang.org>
|
||||
Philio <phil@bayfmail.com>
|
||||
Ranveer <ranveerkunal@gmail.com>
|
||||
|
|
|
@ -205,7 +205,7 @@ var (
|
|||
keyEdgeBackward = &keyType{
|
||||
"edgeback",
|
||||
[]part{
|
||||
{"child", typeBlobRef}, // the thing we want to find parent(s) of
|
||||
{"child", typeBlobRef}, // the thing we want to find parent(s) of
|
||||
{"parent", typeBlobRef}, // the parent (e.g. permanode blobref)
|
||||
// the blobref is the blob establishing the relationship
|
||||
// (for a permanode: the claim; for static: often same as parent)
|
||||
|
@ -213,7 +213,7 @@ var (
|
|||
},
|
||||
[]part{
|
||||
{"parenttype", typeStr}, // either "permanode" or the camliType ("file", "static-set", etc)
|
||||
{"name", typeStr}, // the name, if static.
|
||||
{"name", typeStr}, // the name, if static.
|
||||
},
|
||||
}
|
||||
)
|
||||
|
|
|
@ -119,8 +119,8 @@ func newMongoIndexFromConfig(ld blobserver.Loader, config jsonconfig.Obj) (blobs
|
|||
mgw := &MongoWrapper{
|
||||
Servers: config.OptionalString("host", "localhost"),
|
||||
Database: config.RequiredString("database"),
|
||||
User: config.OptionalString("user", ""),
|
||||
Password: config.OptionalString("password", ""),
|
||||
User: config.OptionalString("user", ""),
|
||||
Password: config.OptionalString("password", ""),
|
||||
Collection: collectionName,
|
||||
}
|
||||
if err := config.Validate(); err != nil {
|
||||
|
|
Loading…
Reference in New Issue