mirror of
https://github.com/kemko/nomad.git
synced 2026-01-09 20:05:42 +03:00
In the debug log, split the unit from the measurement
awk(1) friendly is UNIX(tm) friendly.
This commit is contained in:
@@ -50,7 +50,7 @@ func (f *CPUFingerprint) Fingerprint(cfg *config.Config, node *structs.Node) (bo
|
||||
f.logger.Println("[WARN] fingerprint.cpu: Unable to obtain the CPU Mhz")
|
||||
} else {
|
||||
node.Attributes["cpu.frequency"] = fmt.Sprintf("%.6f", mhz)
|
||||
f.logger.Printf("[DEBUG] fingerprint.cpu: frequency: %02.1fMHz", mhz)
|
||||
f.logger.Printf("[DEBUG] fingerprint.cpu: frequency: %02.1f MHz", mhz)
|
||||
}
|
||||
|
||||
var numCores int
|
||||
|
||||
Reference in New Issue
Block a user