Skip to content

Commit 0bc1fd7

Browse files
authored
Use warn function when doing online install after downloading air gap (#1497)
Use warn function
1 parent 69cac01 commit 0bc1fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ func installCommand() *cli.Command {
773773
if channelRelease, err := release.GetChannelRelease(); err != nil {
774774
return fmt.Errorf("unable to read channel release data: %w", err)
775775
} else if channelRelease != nil && channelRelease.Airgap && c.String("airgap-bundle") == "" && !c.Bool("no-prompt") {
776-
logrus.Infof("You downloaded an air gap bundle but are performing an online installation.")
776+
logrus.Warnf("You downloaded an air gap bundle but are performing an online installation.")
777777
logrus.Infof("To do an air gap installation, pass the air gap bundle with --airgap-bundle.")
778778
if !prompts.New().Confirm("Do you want to proceed with an online installation?", false) {
779779
return ErrNothingElseToAdd

0 commit comments

Comments
 (0)