Skip to content

Commit f16d7ab

Browse files
Laure-dijremy42
andauthored
fix(apple-silicon): change environmental impact unit to hours (#4947)
Co-authored-by: Jonathan R. <[email protected]>
1 parent 92b5c17 commit f16d7ab

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

internal/namespaces/applesilicon/v1alpha1/custom_server_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ func serverTypeBuilder(c *core.Command) *core.Command {
8888
FieldName: "MinimumLeaseDuration",
8989
},
9090
{
91-
Label: "CO2 (kg/day)",
91+
Label: "CO2 (kg/hour)",
9292
FieldName: "KgCo2Equivalent",
9393
},
9494
{
95-
Label: "Water (m³/day)",
95+
Label: "Water (m³/hour)",
9696
FieldName: "M3WaterUsage",
9797
},
9898
},

internal/namespaces/applesilicon/v1alpha1/testdata/test-server-type-list-base.golden

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟩🟩🟩 STDOUT️ 🟩🟩🟩️
3-
Name CPU Memory Disk Stock Minimum Lease Duration CO2 (kg/day) Water (m³/day)
4-
M4-S Apple M4 (10 cores) 16 GB 256 GB high stock 1 days 0.014205732 1.3491717e-06
5-
M4-M Apple M4 (10 cores) 32 GB 1.0 TB high stock 1 days 0.015271181 1.3491717e-06
6-
M2-M Apple M2 (8 cores) 16 GB 256 GB high stock 1 days 0.013547652 1.2453893e-06
3+
Name CPU Memory Disk Stock Minimum Lease Duration CO2 (kg/hour) Water (m³/hour)
4+
M4-S Apple M4 (10 cores) 16 GB 256 GB high stock 1 days 0.014205732 1.3491717e-06
5+
M4-M Apple M4 (10 cores) 32 GB 1.0 TB high stock 1 days 0.015271181 1.3491717e-06
6+
M2-M Apple M2 (8 cores) 16 GB 256 GB high stock 1 days 0.013547652 1.2453893e-06
77
🟩🟩🟩 JSON STDOUT 🟩🟩🟩
88
[
99
{

0 commit comments

Comments
 (0)