mirror of
https://github.com/systemd/systemd
synced 2024-10-15 04:24:19 +00:00
coredumpctl: show container hostame
Fixes #18321. I don't see any point in showing the hostname in _HOSTNAME: it's either the same as COREDUMP_HOSTNAME or irrelevant.
This commit is contained in:
parent
6ce8eda8a1
commit
0746159886
|
@ -563,6 +563,7 @@ static int print_info(FILE *file, sd_journal *j, bool need_space) {
|
|||
RETRIEVE(d, l, "COREDUMP_EXE", exe);
|
||||
RETRIEVE(d, l, "COREDUMP_COMM", comm);
|
||||
RETRIEVE(d, l, "COREDUMP_CMDLINE", cmdline);
|
||||
RETRIEVE(d, l, "COREDUMP_HOSTNAME", hostname);
|
||||
RETRIEVE(d, l, "COREDUMP_UNIT", unit);
|
||||
RETRIEVE(d, l, "COREDUMP_USER_UNIT", user_unit);
|
||||
RETRIEVE(d, l, "COREDUMP_SESSION", session);
|
||||
|
@ -575,7 +576,6 @@ static int print_info(FILE *file, sd_journal *j, bool need_space) {
|
|||
RETRIEVE(d, l, "COREDUMP", coredump);
|
||||
RETRIEVE(d, l, "_BOOT_ID", boot_id);
|
||||
RETRIEVE(d, l, "_MACHINE_ID", machine_id);
|
||||
RETRIEVE(d, l, "_HOSTNAME", hostname);
|
||||
RETRIEVE(d, l, "MESSAGE", message);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue