Skip to content

Commit 0249e25

Browse files
JGAntunesemosbaugh
andauthored
Update pkg-new/validation/upgradable.go
Co-authored-by: Ethan Mosbaugh <[email protected]>
1 parent df62f74 commit 0249e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg-new/validation/upgradable.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ func validateK8sVersion(opts UpgradableOptions) error {
167167
// Parse the EC version format to extract K8s version: "2.12.0+k8s-1.33-*"
168168
currentK8s, err := getK8sVersion(opts.CurrentECVersion)
169169
if err != nil {
170-
return fmt.Errorf("failed to extract k8s version from curretn version %s: %w", opts.CurrentECVersion, err)
170+
return fmt.Errorf("failed to extract k8s version from current version %s: %w", opts.CurrentECVersion, err)
171171
}
172172

173173
targetK8s, err := getK8sVersion(opts.TargetECVersion)

0 commit comments

Comments
 (0)