Remove (comm) from Name field in detail pane

This commit is contained in:
Peter Bourgon
2015-08-19 11:06:42 +02:00
parent 91f64828f4
commit a1b0088bf3
2 changed files with 3 additions and 3 deletions

View File

@@ -194,7 +194,7 @@ func addressOriginTable(nmd report.NodeMetadata) (Table, bool) {
func processOriginTable(nmd report.NodeMetadata) (Table, bool) {
rows := []Row{}
for _, tuple := range []struct{ key, human string }{
{process.Comm, "Name (comm)"},
{process.Comm, "Name"},
{process.PID, "PID"},
{process.PPID, "Parent PID"},
{process.Cmdline, "Command"},

View File

@@ -26,7 +26,7 @@ func TestOriginTable(t *testing.T) {
Numeric: false,
Rank: 2,
Rows: []render.Row{
{"Name (comm)", "apache", ""},
{"Name", "apache", ""},
{"PID", test.ServerPID, ""},
},
},
@@ -85,7 +85,7 @@ func TestMakeDetailedNode(t *testing.T) {
Numeric: false,
Rank: 2,
Rows: []render.Row{
{"Name (comm)", "apache", ""},
{"Name", "apache", ""},
{"PID", test.ServerPID, ""},
},
},