func (b boltRepo) Remove(w Type) error {
	return b.client.Update(func(tx *bolt.Tx) error {
		bucket := tx.Bucket([]byte(b.BucketName))
		if bucket == nil {
			logrus.Trace("unable to delete apikey, apikey not found in BOLT: ", w.ID, nil)
			return nil
		}

		return bucket.Delete([]byte(w.ID))
	})
}
// Remove the given key from the repository
Remove the given key from the repository
// Remove the given key from the repository
func (b boltRepo) Remove(w Type) error {
	return b.client.Update(func(tx *bolt.Tx) error {
		bucket := tx.Bucket([]byte(b.BucketName))
		if bucket == nil {
			logrus.Trace("unable to delete apikey, apikey not found in BOLT: ", w.ID, nil)
			return nil
		}
		return bucket.Delete([]byte(w.ID))
	})
}
func ( b boltRepo ) Remove ( w Type ) error { return b . client . Update ( func ( tx * bolt . Tx ) error { bucket := tx . Bucket ( [ ] byte ( b . BucketName ) ) if bucket == nil { logrus . Trace ( " " , w . ID , nil ) return nil } return bucket . Delete ( [ ] byte ( w . ID ) ) } ) }
Remove the given key from the repository
Remove the given key from the repository