mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 15:48:44 +05:00
prevent cache file info writing by default
This commit is contained in:
@@ -40,6 +40,9 @@ func LoadCacheFileInfo(path string) (*CacheFileInfo, error) {
|
||||
}
|
||||
|
||||
func SaveCacheFileInfo(path string, cfi *CacheFileInfo) error {
|
||||
if path == "" {
|
||||
return nil
|
||||
}
|
||||
// open data file
|
||||
// create a the path
|
||||
if err := os.MkdirAll(path, 0766); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user