Skip to content

Commit

Permalink
Fix variant in printed log
Browse files Browse the repository at this point in the history
Signed-off-by: Łukasz Stolcman <[email protected]>
  • Loading branch information
lstolcman committed Dec 16, 2023
1 parent 0d0b0ca commit ca1b754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/platform/platform_matcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func getCPUVariantArm() string {
// So, the "armv6-compatible" check basically checks for a "v6 or v7 CPU, but not one found listed as a known v7 one in the .proc.info.init tables of
// https://github.com/torvalds/linux/blob/190bf7b14b0cf3df19c059061be032bd8994a597/arch/arm/mm/proc-v7.S .
if strings.HasPrefix(strings.ToLower(model), "armv6-compatible") {
logrus.Debugf("Detected corner case, setting cpu variant to 6")
logrus.Debugf("Detected corner case, setting cpu variant to v6")
variant = "v6"
} else {
variant = "v7"
Expand Down

0 comments on commit ca1b754

Please sign in to comment.