mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
fix: Adjust pagination limit to be zero-based (#2663)
There isn't a use-case for querying a limit of zero. Using -1 led to issues when using default parameters for querying.
This commit is contained in:
@ -396,7 +396,7 @@ func AwaitWorkspaceAgents(t *testing.T, client *codersdk.Client, build uuid.UUID
|
||||
}
|
||||
}
|
||||
return true
|
||||
}, 5*time.Second, 25*time.Millisecond)
|
||||
}, 15*time.Second, 50*time.Millisecond)
|
||||
return resources
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user