Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ func (c *Client) BuildProviderTables(ctx context.Context, providerName string) (
}

c.Logger.Error("BuildProviderTables failed", "error", retErr)
retErr = fmt.Errorf("Incompatible provider schema: Please drop provider tables and recreate, alternatively execute `cq provider drop %s`", providerName)
retErr = fmt.Errorf("Incompatible provider schema: Please drop provider tables and recreate, alternatively execute `cloudquery provider drop %s`", providerName)
}()

// create migration table and set it to version based on latest create table
Expand Down Expand Up @@ -711,7 +711,7 @@ func (c *Client) UpgradeProvider(ctx context.Context, providerName string) (retE
otrace.SpanFromContext(ctx).SetAttributes(attribute.String("old_version", pVersion))

if dirty {
return fmt.Errorf("provider schema is dirty, please drop provider tables and recreate, alternatively execute `cq provider drop %s`", providerName)
return fmt.Errorf("provider schema is dirty, please drop provider tables and recreate, alternatively execute `cloudquery provider drop %s`", providerName)
}
if pVersion == "v0.0.0" {
return c.BuildProviderTables(ctx, providerName)
Expand Down