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

Fix the plugin to return nil instead of an error when API credentials are not set in the *.spc file #14

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

misraved
Copy link
Contributor

@misraved misraved commented Jan 5, 2024

Example query results

Results
Add example SQL query results here (please include the input queries as well)

@misraved misraved requested a review from bigdatasourav January 5, 2024 05:04
@misraved misraved self-assigned this Jan 5, 2024
@bigdatasourav
Copy link
Contributor

@misraved, should we not throw an error when SPC is not set?

@misraved
Copy link
Contributor Author

misraved commented Jan 8, 2024

@bigdatasourav if you take a look at other plugins like kubernetes, googlesheets etc., we don't return an error when the config argument is not set. This results in the plugin throwing an error during the steampipe startup phase.

@misraved misraved merged commit 2a6de09 into main Jan 8, 2024
1 check passed
@misraved misraved deleted the fix-dynamic-column-creds branch January 8, 2024 12:20
@bigdatasourav bigdatasourav linked an issue Feb 16, 2024 that may be closed by this pull request
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.

Getting waring message that shows runtime error
2 participants