Skip to content

Commit

Permalink
Merge pull request flux-framework#6338 from garlick/long_drain
Browse files Browse the repository at this point in the history
make flux resource drain -o long reason expandable
  • Loading branch information
mergify[bot] authored Oct 2, 2024
2 parents 367243a + e5f695e commit 828de38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cmd/flux-resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ class FluxResourceConfig(UtilConfig):
"description": "Long flux-resource status format string",
"format": (
"{state:>12} {color_up}{up:>2}{color_off} "
"{nnodes:>6} {reason:<30.30+} {nodelist}"
"{nnodes:>6} +:{reason:<30.30+} {nodelist}"
),
},
}
builtin_formats["drain"] = {
"long": {
"description": "Long flux-resource drain format string",
"format": (
"{timestamp!d:%FT%T::<20} {state:<8.8} {ranks:<8.8+} "
"{reason:<30.30+} {nodelist}"
"{timestamp!d:%b%d %R::<12} {state:<8.8} {ranks:<8.8+} "
"+:{reason:<30.30+} {nodelist}"
),
},
"default": {
Expand Down

0 comments on commit 828de38

Please sign in to comment.