Skip to content

Commit c39e245

Browse files
Fix outputF call (#322)
1 parent 5dcdd7c commit c39e245

File tree

1 file changed

+2
-2
lines changed
  • internal/cmd/ske/kubeconfig/login

1 file changed

+2
-2
lines changed

internal/cmd/ske/kubeconfig/login/login.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func NewCmd(p *print.Printer) *cobra.Command {
6565
if env == "" {
6666
return fmt.Errorf("%s\n%s\n%s", "KUBERNETES_EXEC_INFO env var is unset or empty.",
6767
"The command probably was not called from a Kubernetes client application!",
68-
"See `stackit ske login --help` for detailed usage instructions.")
68+
"See `stackit ske kubeconfig login --help` for detailed usage instructions.")
6969
}
7070

7171
clusterConfig, err := parseClusterConfig()
@@ -223,7 +223,7 @@ func output(p *print.Printer, cacheKey string, kubeconfig *rest.Config) error {
223223
return fmt.Errorf("marshal ExecCredential: %w", err)
224224
}
225225

226-
p.Outputf(string(output), nil)
226+
p.Outputf(string(output))
227227
return nil
228228
}
229229

0 commit comments

Comments
 (0)