From 0bc1fd77bfd9ba8d13270c9579cd6f69bf611bcf Mon Sep 17 00:00:00 2001 From: Alex Parker <7272359+ajp-io@users.noreply.github.com> Date: Thu, 14 Nov 2024 06:46:41 -0500 Subject: [PATCH] Use warn function when doing online install after downloading air gap (#1497) Use warn function --- pkg/cmd/install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/install.go b/pkg/cmd/install.go index e9b143fde..cb1990d13 100644 --- a/pkg/cmd/install.go +++ b/pkg/cmd/install.go @@ -773,7 +773,7 @@ func installCommand() *cli.Command { if channelRelease, err := release.GetChannelRelease(); err != nil { return fmt.Errorf("unable to read channel release data: %w", err) } else if channelRelease != nil && channelRelease.Airgap && c.String("airgap-bundle") == "" && !c.Bool("no-prompt") { - logrus.Infof("You downloaded an air gap bundle but are performing an online installation.") + logrus.Warnf("You downloaded an air gap bundle but are performing an online installation.") logrus.Infof("To do an air gap installation, pass the air gap bundle with --airgap-bundle.") if !prompts.New().Confirm("Do you want to proceed with an online installation?", false) { return ErrNothingElseToAdd