Skip to content

Commit

Permalink
Fix hardware version bug
Browse files Browse the repository at this point in the history
  • Loading branch information
appilon committed Sep 1, 2023
1 parent 5ca39fa commit 838180c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ func GetHardwareVersionID(vint int) string {
if vint == 0 {
return ""
}
return fmt.Sprintf("vmx-%d", vint)
return fmt.Sprintf("vmx-%02d", vint)
}

// GetHardwareVersionNumber gets the hardware version number from string.
Expand Down

0 comments on commit 838180c

Please sign in to comment.