Skip to content

Commit

Permalink
Merge pull request #1988 from msuret/fix_repeatStreamFunc_for_list_re…
Browse files Browse the repository at this point in the history
…quests

frontend: fix `repeatStreamFunc` for `list` requests
  • Loading branch information
joaquimrocha authored May 22, 2024
2 parents 9926524 + ae9d094 commit 93053fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/k8s/apiProxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ async function repeatStreamFunc(
) {
const endpoint = apiEndpoints[endpointIndex];
const fullArgs = [...args];
let errCbIndex = 2;
let errCbIndex = funcName === 'get' ? 2 : 1;
if (endpoint.isNamespaced) {
++errCbIndex;
}
Expand Down

0 comments on commit 93053fb

Please sign in to comment.