mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
K8s: file-storage: provide empty for resourceVersion initially (#84523)
This commit is contained in:
parent
0fa0cede75
commit
34b5303daf
@ -355,10 +355,9 @@ func (s *Storage) GetList(ctx context.Context, key string, opts storage.ListOpti
|
||||
return err
|
||||
}
|
||||
|
||||
// TODO: hack the resource version for now
|
||||
// Watch is failing when set the list resourceVersion to 0, even though informers provide that in the opts
|
||||
if opts.ResourceVersion == "0" {
|
||||
opts.ResourceVersion = "1"
|
||||
opts.ResourceVersion = ""
|
||||
}
|
||||
|
||||
if opts.ResourceVersion != "" {
|
||||
|
Loading…
Reference in New Issue
Block a user