Update storage_mongo_datadb.go

This commit is contained in:
Eduard Tamsa
2017-01-13 16:03:24 +02:00
committed by GitHub
parent b2a6dd523e
commit 462fd14976

View File

@@ -1476,7 +1476,6 @@ func (ms *MongoStorage) SetActionTriggers(key string, atrs ActionTriggers, trans
if len(atrs) == 0 {
err = col.Remove(bson.M{"key": key}) // delete the key
if err != mgo.ErrNotFound {
err = utils.ErrNotFound
return err
}
return nil