diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-10-26 20:19:08 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-10-26 20:19:08 +0200 |
| commit | 01fd3c2d66f88172027d4cf38232e358ac0ff3a5 (patch) | |
| tree | a49cf0eec32caf9f591cacde99961028a3e829b1 | |
| parent | 9a3523d659eb8c51204e3084336e1b884d181274 (diff) | |
Minor changes
| -rw-r--r-- | clusterman/commands/frontend.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clusterman/commands/frontend.py b/clusterman/commands/frontend.py index 3b38807..26d4409 100644 --- a/clusterman/commands/frontend.py +++ b/clusterman/commands/frontend.py @@ -19,6 +19,14 @@ def info(): print("Node count: ",end="") print("NA") if nodes==None else print(len(nodes)) + # Groups + print("Node groups: ",end="") + if len(CONF["cluster"]["groups"]) > 0: + print(",".join(CONF["cluster"]["groups"].keys())) + else: + print("NA") + + # Cache print("Last node scan: ",end="") if cache!=None and "last_scan" in CONF["cache"]: |
