Revision 90f72445 scripts/gnt-node
b/scripts/gnt-node | ||
---|---|---|
57 | 57 |
"master": "IsMaster", |
58 | 58 |
"offline": "Offline", "drained": "Drained", |
59 | 59 |
"role": "Role", |
60 |
"ctime": "CTime", "mtime": "MTime", |
|
60 | 61 |
} |
61 | 62 |
|
62 | 63 |
#: User-facing storage unit types |
... | ... | |
175 | 176 |
val = 'Y' |
176 | 177 |
else: |
177 | 178 |
val = 'N' |
179 |
elif field == "ctime" or field == "mtime": |
|
180 |
val = utils.FormatTime(val) |
|
178 | 181 |
elif val is None: |
179 | 182 |
val = "?" |
180 | 183 |
row[idx] = str(val) |
Also available in: Unified diff