Skip to content

Commit 4ec8660

Browse files
FedeDPpoiana
authored andcommitted
chore(cmd): fixed up some strings.
Signed-off-by: Federico Di Pierro <[email protected]>
1 parent 139527d commit 4ec8660

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/driver/cleanup/cleanup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func (o *driverCleanupOptions) RunDriverCleanup(_ context.Context) error {
6666
if o.Printer.Logger.Formatter == pterm.LogFormatterJSON {
6767
// Only print formatted text if we are formatting to json
6868
out := strings.ReplaceAll(buf.String(), "\n", ";")
69-
o.Printer.Logger.Info("Driver build", o.Printer.Logger.Args("output", out))
69+
o.Printer.Logger.Info("Driver cleanup", o.Printer.Logger.Args("output", out))
7070
} else {
7171
// Print much more readable output as-is
7272
o.Printer.DefaultText.Print(buf.String())

cmd/driver/install/install.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func (o *driverInstallOptions) RunDriverInstall(ctx context.Context) (string, er
158158
if o.Printer.Logger.Formatter == pterm.LogFormatterJSON {
159159
// Only print formatted text if we are formatting to json
160160
out := strings.ReplaceAll(buf.String(), "\n", ";")
161-
o.Printer.Logger.Info("Driver build", o.Printer.Logger.Args("output", out))
161+
o.Printer.Logger.Info("Driver cleanup", o.Printer.Logger.Args("output", out))
162162
} else {
163163
// Print much more readable output as-is
164164
o.Printer.DefaultText.Print(buf.String())
@@ -180,7 +180,7 @@ func (o *driverInstallOptions) RunDriverInstall(ctx context.Context) (string, er
180180
if o.Printer.Logger.Formatter == pterm.LogFormatterJSON {
181181
// Only print formatted text if we are formatting to json
182182
out := strings.ReplaceAll(buf.String(), "\n", ";")
183-
o.Printer.Logger.Info("Driver build", o.Printer.Logger.Args("output", out))
183+
o.Printer.Logger.Info("Driver download", o.Printer.Logger.Args("output", out))
184184
} else {
185185
// Print much more readable output as-is
186186
o.Printer.DefaultText.Print(buf.String())

0 commit comments

Comments
 (0)