Skip to content

Commit

Permalink
feat: ask for the admin console password before materializing binaries (
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya authored Jun 25, 2024
1 parent 0a5e7fc commit 9cfcb5a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/embedded-cluster/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -578,13 +578,13 @@ var installCommand = &cli.Command{
return err // we want the user to see the error message without a prefix
}
}
logrus.Debugf("materializing binaries")
if err := materializeFiles(c); err != nil {
adminConsolePwd, err := askAdminConsolePassword(c)
if err != nil {
metrics.ReportApplyFinished(c, err)
return err
}
adminConsolePwd, err := askAdminConsolePassword(c)
if err != nil {
logrus.Debugf("materializing binaries")
if err := materializeFiles(c); err != nil {
metrics.ReportApplyFinished(c, err)
return err
}
Expand Down

0 comments on commit 9cfcb5a

Please sign in to comment.