From 9cfcb5a7b0f66fae429a70fea99cedb90bc98152 Mon Sep 17 00:00:00 2001 From: Andrew Lavery Date: Tue, 25 Jun 2024 11:19:21 -0400 Subject: [PATCH] feat: ask for the admin console password before materializing binaries (#730) --- cmd/embedded-cluster/install.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/embedded-cluster/install.go b/cmd/embedded-cluster/install.go index 043cdb0b8..1aa7cf95d 100644 --- a/cmd/embedded-cluster/install.go +++ b/cmd/embedded-cluster/install.go @@ -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 }