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

tailscale: use V2 client for acl data source #422

Merged
merged 2 commits into from
Aug 23, 2024
Merged

Conversation

oxtoacart
Copy link
Contributor

Updates tailscale/corp#21867


rs := s.RootModule().Resources[resourceName].Primary
actual := rs.Attributes["hujson"]
if diff := cmp.Diff(expected, actual); diff != "" {
Copy link

Choose a reason for hiding this comment

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

nit: I think these might be the wrong way round? ref

Suggested change
if diff := cmp.Diff(expected, actual); diff != "" {
if diff := cmp.Diff(actual, expected); diff != "" {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ha, looks like we have a lot of these. I miss using stretchr/testify 😭

@oxtoacart oxtoacart merged commit 67c8f6f into main Aug 23, 2024
4 checks passed
@oxtoacart oxtoacart deleted the percy/ds-acl-client-v2 branch August 23, 2024 18:56
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