Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

fix(gcp): detect a change of credentials #14

Merged
merged 2 commits into from
Jul 24, 2020
Merged

Conversation

afiune
Copy link
Contributor

@afiune afiune commented Jul 24, 2020

Previously, we tried to fix an issue by avoiding triggering a state change if the private_key
was different (#10) this suppression made it so that we never send the value to any request
and therefore, having consistent 500 Schema Validation errors.

This change is fixing this issue by checking if there is a change in any of the "known values
that the server will return" then do NOT suppress the diff, but suppress it otherwise.

Signed-off-by: Salim Afiune Maya afiune@lacework.net

Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
@afiune afiune added the bug label Jul 24, 2020
@afiune afiune requested a review from scottford-lw July 24, 2020 13:44
@afiune afiune self-assigned this Jul 24, 2020
Copy link
Contributor

@scottford-lw scottford-lw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 👍

👏 🤞

Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
@ghost ghost added the size/XS label Jul 24, 2020
@afiune afiune merged commit 6cdaa7e into master Jul 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants