mirror of
https://github.com/turbot/steampipe.git
synced 2025-12-23 21:09:15 -05:00
Rename internal introspection tables. Fix warning notifications from RefreshConnections. Improve error handlingh for config inconsistencies in conneciton and plugin config. Closes #3886
This commit is contained in:
@@ -3,8 +3,6 @@ package connection_sync
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/turbot/steampipe/pkg/constants"
|
||||
"github.com/turbot/steampipe/pkg/db/db_client"
|
||||
"github.com/turbot/steampipe/pkg/db/db_common"
|
||||
"github.com/turbot/steampipe/pkg/steampipeconfig"
|
||||
)
|
||||
@@ -24,8 +22,7 @@ func WaitForSearchPathSchemas(ctx context.Context, client db_common.Client, sear
|
||||
|
||||
// NOTE: if we failed to load conection state, this must be because we are connected to an older version of the CLI
|
||||
// just return nil error
|
||||
_, missingTable, relationNotFound := db_client.IsRelationNotFoundError(err)
|
||||
if relationNotFound && missingTable == constants.ConnectionStateTable {
|
||||
if db_common.IsRelationNotFoundError(err) {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user