Uninstalling a plugin don't remove the rate-limiter config from the table steampipe_plugin_limiter
#4255
Labels
bug
Something isn't working
steampipe_plugin_limiter
#4255
Describe the bug
After installing a plugin and configuring the rate limiter in the
plugin.go
file (refer to https://github.com/turbot/steampipe-plugin-aws/blob/main/aws/plugin.go#L51-L76), the corresponding rows are added to thesteampipe_plugin_limiter
table. However, these rows remain in the table even after the plugin is uninstalled.Steampipe version (
steampipe -v
)Example: v0.22.2
To reproduce
To replicate the issue, follow these steps using the existing PR branch (
add-rate-limiter-config
) in the GCP plugin:git clone git@github.com:turbot/steampipe-plugin-gcp.git
cd steampipe-plugin-gcp
git checkout add-rate-limiter-config
make
select * from steampipe_plugin_limiter
.spc
file.select * from steampipe_plugin_limiter
Despite uninstalling, the rate limiter configuration rows are still visible.
Expected behavior
Uninstalling the plugin should remove any related rate limiter configurations from the table.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: