diff --git a/pkg/apiserver/storage/file/file.go b/pkg/apiserver/storage/file/file.go index d3c70ba268b..68fb81583d8 100644 --- a/pkg/apiserver/storage/file/file.go +++ b/pkg/apiserver/storage/file/file.go @@ -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 != "" {