Skip to content

Commit

Permalink
rebase issue
Browse files Browse the repository at this point in the history
  • Loading branch information
abhimanyubabbar committed Nov 3, 2023
1 parent 63cf0c1 commit ef374e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/openfaas/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ const executeFaasFunction = async (
error.statusCode === 404 &&
error.message.includes(`error finding function ${name}`)
) {
removeFunctionFromCache(functionName);
removeFunctionFromCache(name);
await setupFaasFunction(
functionName,
null,
Expand All @@ -266,7 +266,7 @@ const executeFaasFunction = async (
testMode,
trMetadata,
);
throw new RetryRequestError(`${functionName} not found`);
throw new RetryRequestError(`${name} not found`);
}

if (error.statusCode === 429) {
Expand Down

0 comments on commit ef374e3

Please sign in to comment.