Adding static field values for multiple mediation in configuration, fmt on sources

This commit is contained in:
DanB
2013-12-27 20:02:47 +01:00
parent 7f8f981085
commit 4eee6ddd0e
17 changed files with 189 additions and 146 deletions

View File

@@ -27,8 +27,8 @@ import (
"github.com/cgrates/cgrates/engine"
"github.com/cgrates/cgrates/utils"
"github.com/howeyc/fsnotify"
"io/ioutil"
"io"
"io/ioutil"
"net/http"
"net/url"
"os"
@@ -190,7 +190,7 @@ func (self *Cdrc) processFile(filePath string) error {
}
// Finished with file, move it to processed folder
newPath := path.Join(self.cgrCfg.CdrcCdrOutDir, fn)
if err:= os.Rename(filePath, newPath); err != nil {
if err := os.Rename(filePath, newPath); err != nil {
engine.Logger.Err(err.Error())
return err
}