mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Move annotations cleanup to the annotations service (#55618)
This commit is contained in:
committed by
GitHub
parent
4739ff06a5
commit
2f14575dd3
18
pkg/services/annotations/annotationstest/fake_cleanup.go
Normal file
18
pkg/services/annotations/annotationstest/fake_cleanup.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user