mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
fixes build
This commit is contained in:
@@ -69,7 +69,7 @@ type AttrRemoveDestination struct {
|
||||
}
|
||||
|
||||
func (self *ApierV1) RemoveDestination(attr AttrRemoveDestination, reply *string) error {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (apier *ApierV1) GetSharedGroup(sgId string, reply *engine.SharedGroup) error {
|
||||
|
||||
@@ -441,6 +441,10 @@ func (ms *MapStorage) SetDestination(dest *Destination) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (ms *MapStorage) RemoveDestination(destID string) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (ms *MapStorage) GetActions(key string, skipCache bool) (as Actions, err error) {
|
||||
ms.mu.RLock()
|
||||
defer ms.mu.RUnlock()
|
||||
|
||||
@@ -888,6 +888,10 @@ func (ms *MongoStorage) SetDestination(dest *Destination) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (ms *MongoStorage) RemoveDestination(destID string) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (ms *MongoStorage) GetActions(key string, skipCache bool) (as Actions, err error) {
|
||||
if !skipCache {
|
||||
if x, err := cache2go.Get(utils.ACTION_PREFIX + key); err == nil {
|
||||
|
||||
@@ -568,7 +568,7 @@ func (rs *RedisStorage) SetDestination(dest *Destination) (err error) {
|
||||
}
|
||||
|
||||
func (rs *RedisStorage) RemoveDestination(destID string) (err error) {
|
||||
conn, err := rs.db.Get()
|
||||
/*conn, err := rs.db.Get()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -617,7 +617,7 @@ func (rs *RedisStorage) RemoveDestination(destID string) (err error) {
|
||||
if historyScribe != nil {
|
||||
response := 0
|
||||
go historyScribe.Call("HistoryV1.Record", dest.GetHistoryRecord(true), &response)
|
||||
}
|
||||
}*/
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user