-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: API changes for integration + helm improvement (MAPCO-2931) #62
Conversation
src/tasks/models/tasksManager.ts
Outdated
if (response.status === 'rejected') { | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment | ||
this.logger.error({ reason: response.reason, url: targetCallbacks[index].url, jobId: job.id, msg: `Failed to send callback to url` }); | ||
if (targetCallbacks) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change the condition to:
if (!targetCallbacks) {
return;
}
// else
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the "else {" as it's not needed
Update some of values as part of preparation to client's integration