Skip to content

Commit

Permalink
chore: Rename custom field to be consistent with the api
Browse files Browse the repository at this point in the history
  • Loading branch information
justinbarclay committed Jul 9, 2024
1 parent 322797c commit 2eba583
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion unix/src/machine_stats/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def v2_runner_on_ok(self, result):
"storage_used_gb": storage_used_gb(facts),
"cpu_count": cpu_count(facts),
"custom_fields": {
"CPU_LogicalProcessors": cpu_logical_processors(facts)
"cpu_logical_processors": cpu_logical_processors(facts)
},
"operating_system": facts["ansible_distribution"],
"operating_system_version": facts["ansible_distribution_version"],
Expand Down
2 changes: 1 addition & 1 deletion windows/server_stats.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ $ServerStats = {
CPU_Manufacturer = $cpu.Manufacturer
CPU_L2CacheSize = $cpu.L2CacheSize
CPU_L3CacheSize = $cpu.L3CacheSize
CPU_LogicalProcessors = $cpu.NumberOfLogicalProcessors
cpu_logical_processors = $cpu.NumberOfLogicalProcessors
CPU_SocketDesignation = $cpu.SocketDesignation
TotalVisible_Memory_GB = $OSTotalVisibleMemory
TotalVirtual_Memory_GB = $OSTotalVirtualMemory
Expand Down

0 comments on commit 2eba583

Please sign in to comment.