Code quality issues - Remove unused code (#6864)

* remove unused code

* gofmt

* remove junk file

* bring back metrics-related functions

* bring back keymanager's code
This commit is contained in:
rkapka
2020-08-05 13:59:46 +02:00
committed by GitHub
parent de8d3ec612
commit e492343ffd
16 changed files with 3 additions and 75 deletions

View File

@@ -27,9 +27,6 @@ func (store *Store) Close() error {
func (store *Store) update(fn func(*bolt.Tx) error) error {
return store.db.Update(fn)
}
func (store *Store) batch(fn func(*bolt.Tx) error) error {
return store.db.Batch(fn)
}
func (store *Store) view(fn func(*bolt.Tx) error) error {
return store.db.View(fn)
}