mirror of
https://github.com/turbot/steampipe.git
synced 2025-12-25 03:00:48 -05:00
Fix connection file watching. Closes #1469
This commit is contained in:
@@ -65,7 +65,7 @@ func runPluginManagerCmd(cmd *cobra.Command, args []string) {
|
||||
}
|
||||
|
||||
func shouldRunConnectionWatcher() bool {
|
||||
// if CacheEnabledEnvVar is set, overwrite the value in DefaultConnectionOptions
|
||||
// if EnvConnectionWatcher is set, overwrite the value in DefaultConnectionOptions
|
||||
if envStr, ok := os.LookupEnv(constants.EnvConnectionWatcher); ok {
|
||||
if parsedEnv, err := types.ToBool(envStr); err == nil {
|
||||
return parsedEnv
|
||||
|
||||
Reference in New Issue
Block a user