We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a588c92 + fd2b7ac commit 8dad179Copy full SHA for 8dad179
src/cloudai/systems/slurm/slurm_system.py
@@ -206,7 +206,7 @@ def update(self) -> None:
206
self.update_nodes_state_and_user(self.group_allocated)
207
208
def nodes_from_sinfo(self) -> list[SlurmNode]:
209
- sinfo_output, _ = self.fetch_command_output("sinfo -o '%P|%t|%u|%N'")
+ sinfo_output, _ = self.fetch_command_output("sinfo --noheader -o '%P|%t|%u|%N'")
210
nodes: list[SlurmNode] = []
211
for line in sinfo_output.split("\n"):
212
if not line.strip():
0 commit comments