Skip to content
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

fix: use reportTypeId for equality check and some null checks #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dejii
Copy link

@dejii dejii commented Aug 17, 2024

Description of change

When checking for existing youtube reporting jobs, the tap uses the job.name to check if it exists in the stream but job.name is user specified and could be different from what's expected. Specifically in cases where the job wasn't created by the tap. The fix is to use the job.reportTypeId which is consistent across, ensuring we don't try to create an existing job which throws a 409 error and breaks the tap.

Other changes are just some null checks that break the tap.

@singer-bot
Copy link

Hi @dejii, thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes.

@singer-bot
Copy link

You did it @dejii!

Thank you for signing the Singer Contribution License Agreement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants