Commit 2797d1ef authored by Somnath Ghorpade's avatar Somnath Ghorpade
Browse files

Deprecated mongodb package.

parent 5c31ae9e
Branches
Tags
4 merge requests!302merge devbranch into staging,!299Devbranch,!296merge devbranch to staging.,!291#28 Deprecated mongodb package.
Showing with 2 additions and 1 deletion
// Deprecated: As of corepkgv2 tag 1.2.15 onwards no longer maintained,simply use coremongo and in future it will be removed.
package mongodb
import (
......@@ -159,7 +160,7 @@ func InitNewSession(hostDetails MongoHost) error {
return nil
}
//GetMongoConnection method
// GetMongoConnection method
func GetMongoConnection(hostName string) (*mgo.Session, error) {
defer mutex.Unlock()
mutex.Lock()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment