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

lint cleanup #329

Merged
merged 15 commits into from Dec 7, 2020
Merged

lint cleanup #329

merged 15 commits into from Dec 7, 2020

Conversation

ryanking
Copy link
Contributor

@ryanking ryanking commented Dec 7, 2020

Note quite to zero lint warnings, but this reduces the lints warnings by a lot.

Test Plan

  • acceptance tests

References

@ryanking ryanking requested a review from a team as a code owner December 7, 2020 18:41
@ryanking ryanking requested review from edulop91 and removed request for a team December 7, 2020 18:41
pkg/snowflake/grant_test.go Outdated Show resolved Hide resolved
@ryanking ryanking removed the bot/merge label Dec 7, 2020
@ryanking ryanking requested a review from cziie December 7, 2020 18:47
return err
}

// Some properties come from the DESCRIBE INTEGRATION call
// We need to grab them in a loop
var k, pType string
var v, d interface{}
stmt = snowflake.StorageIntegration(data.Id()).Describe()
var v, unused interface{}
Copy link

Choose a reason for hiding this comment

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

what is this for?

@@ -109,7 +109,7 @@ func (gb *FutureGrantBuilder) Share(n string) GrantExecutable {
// Grant returns the SQL that will grant future privileges on the grant to the grantee
func (fge *FutureGrantExecutable) Grant(p string, w bool) string {
var template string
if w == true {
if w {
Copy link

Choose a reason for hiding this comment

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

🤗

@czimergebot czimergebot merged commit f41f110 into main Dec 7, 2020
@czimergebot czimergebot deleted the ryanking/lint-cleanup branch December 7, 2020 19:08
gjv9491 pushed a commit to gjv9491/terraform-provider-snowflake that referenced this pull request Mar 19, 2021
Note quite to zero lint warnings, but this reduces the lints warnings by a lot.


## Test Plan
* [ ] acceptance tests

## References
*
anton-chekanov pushed a commit to anton-chekanov/terraform-provider-snowflake that referenced this pull request Jan 25, 2022
Note quite to zero lint warnings, but this reduces the lints warnings by a lot.


## Test Plan
* [ ] acceptance tests

## References
*
daniepett pushed a commit to daniepett/terraform-provider-snowflake that referenced this pull request Feb 9, 2022
Note quite to zero lint warnings, but this reduces the lints warnings by a lot.


## Test Plan
* [ ] acceptance tests

## References
*
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.

None yet

5 participants