mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-20 04:04:21 -04:00
cli: correctly print absolute path for kubeconfig (#2207)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
066fff951f
commit
589ac8c400
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,7 @@ func (i *initCmd) writeOutput(
|
||||||
if !mergeConfig {
|
if !mergeConfig {
|
||||||
fmt.Fprintln(wr, "You can now connect to your cluster by executing:")
|
fmt.Fprintln(wr, "You can now connect to your cluster by executing:")
|
||||||
|
|
||||||
exportPath, err := filepath.Abs(i.pf.PrefixPath(constants.AdminConfFilename))
|
exportPath, err := filepath.Abs(constants.AdminConfFilename)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("getting absolute path to kubeconfig: %w", err)
|
return fmt.Errorf("getting absolute path to kubeconfig: %w", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue