Refactor mock data formatting for improved readability
Some checks failed
CI / ci (push) Has been cancelled
Some checks failed
CI / ci (push) Has been cancelled
- Reformatted the host_labels list in mock_data.py for better visual clarity and consistency in code style.
This commit is contained in:
@@ -21,7 +21,20 @@ def get_mock_context():
|
|||||||
vram_total = pram_total * vram_overcommit_max
|
vram_total = pram_total * vram_overcommit_max
|
||||||
|
|
||||||
# Two sample audits with serialized fields for JS
|
# Two sample audits with serialized fields for JS
|
||||||
host_labels = ["compute-0", "compute-1", "compute-2", "compute-3", "compute-4", "compute-5", "compute-6", "compute-7", "compute-8", "compute-9", "compute-10", "compute-11"]
|
host_labels = [
|
||||||
|
"compute-0",
|
||||||
|
"compute-1",
|
||||||
|
"compute-2",
|
||||||
|
"compute-3",
|
||||||
|
"compute-4",
|
||||||
|
"compute-5",
|
||||||
|
"compute-6",
|
||||||
|
"compute-7",
|
||||||
|
"compute-8",
|
||||||
|
"compute-9",
|
||||||
|
"compute-10",
|
||||||
|
"compute-11",
|
||||||
|
]
|
||||||
cpu_current = [45.2, 38.1, 52.0, 41.3, 29.8, 32.1, 36.4, 29.2, 42.2, 41.3, 28.3, 33.3]
|
cpu_current = [45.2, 38.1, 52.0, 41.3, 29.8, 32.1, 36.4, 29.2, 42.2, 41.3, 28.3, 33.3]
|
||||||
cpu_projected = [42.0, 40.0, 48.0, 44.0, 35.0, 46.0, 43.0, 43.0, 44.0, 48.0, 47.0, 49.0]
|
cpu_projected = [42.0, 40.0, 48.0, 44.0, 35.0, 46.0, 43.0, 43.0, 44.0, 48.0, 47.0, 49.0]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user