We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e522ae5 + 00d0f14 commit 0e66e83Copy full SHA for 0e66e83
pkg/cli/alpha/internal/update/prepare.go
@@ -75,7 +75,7 @@ func (opts *Update) defineFromVersion(config store.Store) (string, error) {
75
76
func (opts *Update) defineToVersion() string {
77
if len(opts.ToVersion) != 0 {
78
- if !strings.HasPrefix(opts.FromVersion, "v") {
+ if !strings.HasPrefix(opts.ToVersion, "v") {
79
return "v" + opts.ToVersion
80
}
81
return opts.ToVersion
0 commit comments