Skip to content

Commit f473264

Browse files
committed
make wording install/pull agnostic
1 parent 6dda16f commit f473264

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/license/multichannel.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func VerifyAndUpdateLicense(log *logger.CLILogger, license *kotsv1beta1.License,
5353
for _, channel := range license.Spec.Channels {
5454
validChannels = append(validChannels, fmt.Sprintf("%s/%s", license.Spec.AppSlug, channel.ChannelSlug))
5555
}
56-
log.ChildActionWithoutSpinner(fmt.Sprintf("To install from an allowed channel, use one of the following: %s", strings.Join(validChannels, ", ")))
56+
log.ChildActionWithoutSpinner(fmt.Sprintf("To install/pull an allowed channel, use one of the following: %s", strings.Join(validChannels, ", ")))
5757
return license, nil
5858
}
5959

@@ -76,6 +76,6 @@ func VerifyAndUpdateLicense(log *logger.CLILogger, license *kotsv1beta1.License,
7676
for _, channel := range license.Spec.Channels {
7777
validChannels = append(validChannels, fmt.Sprintf("%s/%s", license.Spec.AppSlug, channel.ChannelSlug))
7878
}
79-
log.ChildActionWithoutSpinner(fmt.Sprintf("To install from an allowed channel, use one of the following: %s", strings.Join(validChannels, ", ")))
79+
log.ChildActionWithoutSpinner(fmt.Sprintf("To install/pull an allowed channel, use one of the following: %s", strings.Join(validChannels, ", ")))
8080
return updatedLicense.License, errors.New(fmt.Sprintf("channel slug %q is not allowed by latest license", preferredChannelSlug))
8181
}

0 commit comments

Comments
 (0)