Skip to content

Commit a376d71

Browse files
committed
ref(pkg): address golangci-lint errs
Signed-off-by: Vaughn Dice <[email protected]>
1 parent bd1fa11 commit a376d71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/cmd/output.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ func printApps(w io.Writer, apps ...spinv1alpha1.SpinApp) {
1717
table.AddRow(app.Namespace, app.Name, app.Spec.Executor, fmt.Sprintf("%d/%d", app.Status.ReadyReplicas, app.Spec.Replicas))
1818
}
1919

20-
fmt.Fprintln(w, table)
20+
_, _ = fmt.Fprintln(w, table)
2121
}

pkg/cmd/scaffold.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ var scaffoldCmd = &cobra.Command{
198198

199199
}
200200

201-
fmt.Fprint(os.Stdout, string(content))
201+
_, _ = fmt.Fprint(os.Stdout, string(content))
202202

203203
return nil
204204
},

0 commit comments

Comments
 (0)