mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
listAtRevision should always use the token from the RV if present
This commit is contained in:
parent
1fc1dd0914
commit
07b804457e
@ -429,7 +429,7 @@ func (b *backend) listAtRevision(ctx context.Context, req *resource.ListRequest)
|
||||
// Get the RV
|
||||
rv := req.ResourceVersion
|
||||
offset := int64(0)
|
||||
if rv == 0 {
|
||||
if req.NextPageToken != "" {
|
||||
continueToken, err := GetContinueToken(req.NextPageToken)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("get continue token: %w", err)
|
||||
|
Loading…
Reference in New Issue
Block a user