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

Bug: Constant overflow int #16

Open
Cyb3r-Jak3 opened this issue Mar 14, 2022 · 0 comments
Open

Bug: Constant overflow int #16

Cyb3r-Jak3 opened this issue Mar 14, 2022 · 0 comments

Comments

@Cyb3r-Jak3
Copy link

When trying to build with goreleaser I get the following error:

   ⨯ release failed after 17.66s error=failed to build for linux_arm_6: # github.com/aequasi/discord-terraform/discord
discord\data_source_discord_permission.go:48:3: constant 4294967296 overflows int
discord\data_source_discord_permission.go:49:3: constant 17179869184 overflows int
discord\data_source_discord_permission.go:50:3: constant 34359738368 overflows int
discord\data_source_discord_permission.go:51:3: constant 68719476736 overflows int
discord\data_source_discord_permission.go:52:3: constant 137438953472 overflows int
discord\data_source_discord_permission.go:53:3: constant 274877906944 overflows int

These permissions are causing the issue:
https://github.com/aequasi/terraform-provider-discord/blob/master/discord/data_source_discord_permission.go#L48-L53

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 a pull request may close this issue.

1 participant