Skip to content

Commit

Permalink
Merge pull request #72 from HewlettPackard/fix_parse_version
Browse files Browse the repository at this point in the history
Parse version fix
  • Loading branch information
manjunath-batakurki authored Apr 22, 2024
2 parents 0970a67 + c19df53 commit c5b00ee
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 c5b00ee

Please sign in to comment.