Skip to content

Commit

Permalink
Parse version fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-hpe committed Apr 22, 2024
1 parent 0970a67 commit c19df53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/client/helper.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

package client

Expand Down Expand Up @@ -77,7 +77,7 @@ func parseVersion(version string) (int, error) {
if version == "" {
return 0, nil
}

version = strings.Split(version, "-")[0]
versionSplit := strings.Split(version, ".")

mul := 10000
Expand Down

0 comments on commit c19df53

Please sign in to comment.