added lcr storage methods

This commit is contained in:
Radu Ioan Fericean
2014-03-25 18:01:49 +02:00
parent 26b9590fa0
commit 8987b11cbd
12 changed files with 160 additions and 29 deletions

View File

@@ -219,7 +219,7 @@ func (csvr *CSVReader) WriteToDatabase(flush, verbose bool) (err error) {
log.Print("Shared groups")
}
for k, sg := range csvr.sharedGroups {
err = accountingStorage.SetSharedGroup(k, sg)
err = accountingStorage.SetSharedGroup(sg)
if err != nil {
return err
}