mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 00:13:12 +09:00
Use h: as short form of host in log lines
Before the rename from hosts were called slave which is why s: made sense. Use h: instead.
This commit is contained in:
1 parent
a1109b9354
commit
38dcff2225
2 files changed
+2
-2
No files matched your search
@@ -73,7 +73,7 @@ export class WebConsoleFormat {
|
|||||||
transform(info: any, _options: object) {
|
transform(info: any, _options: object) {
|
||||||
let src = " ";
|
let src = " ";
|
||||||
if (info.host_id !== undefined) {
|
if (info.host_id !== undefined) {
|
||||||
src += `s:${info.host_name} - `;
|
src += `h:${info.host_name} - `;
|
||||||
}
|
}
|
||||||
if (info.instance_id !== undefined) {
|
if (info.instance_id !== undefined) {
|
||||||
src += `i:${info.instance_name}`;
|
src += `i:${info.instance_name}`;
|
||||||
|
|||||||
@@ -163,7 +163,7 @@ export class TerminalFormat {
|
|||||||
src += `i:${info.instance_name} `;
|
src += `i:${info.instance_name} `;
|
||||||
|
|
||||||
} else if (info.host_name) {
|
} else if (info.host_name) {
|
||||||
src += `s:${info.host_name} `;
|
src += `h:${info.host_name} `;
|
||||||
}
|
}
|
||||||
if (info.plugin) {
|
if (info.plugin) {
|
||||||
src += `${info.plugin}: `;
|
src += `${info.plugin}: `;
|
||||||
|
|||||||
Reference in new issue
Block a user