From 162714a6c690df447e93e1980a8bac63b187d894 Mon Sep 17 00:00:00 2001 From: Kemal Hadimli Date: Tue, 25 Jan 2022 16:28:35 +0000 Subject: [PATCH] fix: Refer to cloudquery as cloudquery --- pkg/client/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/client/client.go b/pkg/client/client.go index 8574090a90786c..a68ca135aebbf7 100644 --- a/pkg/client/client.go +++ b/pkg/client/client.go @@ -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 @@ -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)