mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -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
@ -436,7 +436,7 @@ func (i *initCmd) writeOutput(
|
||||
if !mergeConfig {
|
||||
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 {
|
||||
return fmt.Errorf("getting absolute path to kubeconfig: %w", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user