Chore: Move annotations cleanup to the annotations service (#55618)

This commit is contained in:
Sofia Papagiannaki
2022-09-22 15:27:48 +03:00
committed by GitHub
parent 4739ff06a5
commit 2f14575dd3
12 changed files with 179 additions and 158 deletions

View File

@@ -0,0 +1,18 @@
package annotationstest
import (
"context"
"github.com/grafana/grafana/pkg/setting"
)
type fakeCleaner struct {
}
func NewFakeCleaner() *fakeCleaner {
return &fakeCleaner{}
}
func (f *fakeCleaner) Run(ctx context.Context, cfg *setting.Cfg) (int64, int64, error) {
return 0, 0, nil
}