diff --git a/AUTHORS b/AUTHORS index 0393c1ac5..24d2a65b6 100644 --- a/AUTHORS +++ b/AUTHORS @@ -12,6 +12,7 @@ Iain Peet Jrabbit Julien Danjou Mathieu Lonjaret +Maxime Lavigne Philio Ranveer Robert Hencke diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 469ec35a4..ebe65be0e 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -27,6 +27,7 @@ Jrabbit Julien Danjou Lindsey Simon Mathieu Lonjaret +Maxime Lavigne Nigel Tao Philio Ranveer diff --git a/pkg/index/keys.go b/pkg/index/keys.go index 3a1f4658d..f0a4c66b2 100644 --- a/pkg/index/keys.go +++ b/pkg/index/keys.go @@ -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. }, } ) diff --git a/pkg/index/mongo/mongoindex.go b/pkg/index/mongo/mongoindex.go index e56c06635..8f2a1e528 100644 --- a/pkg/index/mongo/mongoindex.go +++ b/pkg/index/mongo/mongoindex.go @@ -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 {