Skip to content

Commit

Permalink
fix hard coded values
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislusf committed Nov 25, 2015
1 parent 320d503 commit 232a596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/mongodb_source/mongodb_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func iterate(mongodbUrl, dbName, collectionName string, fn func(*mgo.Iter)) {
println(err)
return
}
iter := session.DB("mailpin").C(collectionName).Find(nil).Iter()
iter := session.DB(dbName).C(collectionName).Find(nil).Iter()
fn(iter)
if err := iter.Close(); err != nil {
println(err)
Expand Down

0 comments on commit 232a596

Please sign in to comment.