951a842fd4
This functionality will be needed in both packages, so here we move it into the more general reputation-code package and export it for use in satellitedb. This also removes the related UpdateAuditHistory() signature from the reputation DB interface, since it doesn't have anything to do with the db. It doesn't need to be a method, either. Finally, this changes the test for addAudit to be a plain test function instead of using testplanet.Run(). It didn't need a whole testplanet setup or any databases. Refs: https://github.com/storj/storj/issues/4601 Change-Id: I90f6a909e5404f03ad776b95cfa2f248308c57c1 |
||
---|---|---|
.. | ||
audithistory_test.go | ||
audithistory.go | ||
benchmark_test.go | ||
config.go | ||
db_test.go | ||
service_test.go | ||
service.go | ||
suspension_test.go |