You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnfmt.Errorf("unable to parse license: %w", err)
144
+
returnfmt.Errorf("unable to parse the license file at %q, please ensure it is not corrupt: %w", c.String("license"), err)
145
145
}
146
146
147
147
// Check if the license matches the application version data
148
148
ifrel.AppSlug!=license.Spec.AppSlug {
149
149
// if the app is different, we will not be able to provide the correct vendor supplied charts and k0s overrides
150
-
returnfmt.Errorf("license app %s does not match binary app %s", license.Spec.AppSlug, rel.AppSlug)
150
+
returnfmt.Errorf("license app %s does not match binary app %s, please provide the correct license", license.Spec.AppSlug, rel.AppSlug)
151
151
}
152
152
ifrel.ChannelID!=license.Spec.ChannelID {
153
153
// if the channel is different, we will not be able to install the pinned vendor application version within kots
154
154
// this may result in an immediate k8s upgrade after installation, which is undesired
155
-
returnfmt.Errorf("license channel %s (%s) does not match binary channel %s", license.Spec.ChannelID, license.Spec.ChannelName, rel.ChannelID)
155
+
returnfmt.Errorf("license channel %s (%s) does not match binary channel %s, please provide the correct license", license.Spec.ChannelID, license.Spec.ChannelName, rel.ChannelID)
156
156
}
157
157
158
158
returnnil
@@ -333,15 +333,15 @@ var installCommand = &cli.Command{
333
333
logrus.Errorf("An installation has been detected on this machine.")
334
334
logrus.Infof("If you want to reinstall you need to remove the existing installation")
335
335
logrus.Infof("first. You can do this by running the following command:")
0 commit comments