Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

build: fix sample test#721

Merged
sofisl merged 1 commit intomainfrom
fixSampleTest
Jun 16, 2022
Merged

build: fix sample test#721
sofisl merged 1 commit intomainfrom
fixSampleTest

Conversation

@sofisl
Copy link
Copy Markdown
Contributor

@sofisl sofisl commented Jun 16, 2022

Fixes #720

I think it's safe to just delete this test. Turns out that the number to mask can be a negative number, and it seems that nothing really counts as an invalid argument for the request, and the harmful string is always successfully masked. So, I just think this is just a feature.
https://cloud.google.com/dlp/docs/reference/rest/v2/projects.deidentifyTemplates#DeidentifyTemplate.DeidentifyConfig

@sofisl sofisl requested a review from a team June 16, 2022 05:14
@product-auto-label product-auto-label Bot added size: s Pull request size is small. api: dlp Issues related to the googleapis/nodejs-dlp API. labels Jun 16, 2022
@sofisl sofisl changed the title fix sample test build: fix sample test Jun 16, 2022
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Jun 16, 2022
@conventional-commit-lint-gcf
Copy link
Copy Markdown

conventional-commit-lint-gcf Bot commented Jun 16, 2022

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@sofisl sofisl merged commit f66dd6c into main Jun 16, 2022
@sofisl sofisl deleted the fixSampleTest branch June 16, 2022 21:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: dlp Issues related to the googleapis/nodejs-dlp API. samples Issues that are directly related to samples. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deid: should handle masking errors failed

2 participants