Skip to content

Commit 51efca2

Browse files
mtardytklauser
authored andcommitted
agent: use in-use instead of inuse for consistency
Since I renamed these fields in the previous commit, let's take this opportunity to be consistent with the other fields containing 'in use'. Signed-off-by: Mahe Tardy <[email protected]>
1 parent dcd9131 commit 51efca2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

agent/agent.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,9 @@ func handle(conn io.ReadWriter, msg []byte) error {
229229
fmt.Fprintf(conn, "heap-objects: %v\n", s.HeapObjects)
230230
fmt.Fprintf(conn, "stack-in-use: %v\n", formatBytes(s.StackInuse))
231231
fmt.Fprintf(conn, "stack-sys: %v\n", formatBytes(s.StackSys))
232-
fmt.Fprintf(conn, "mspan-inuse: %v\n", formatBytes(s.MSpanInuse))
232+
fmt.Fprintf(conn, "mspan-in-use: %v\n", formatBytes(s.MSpanInuse))
233233
fmt.Fprintf(conn, "mspan-sys: %v\n", formatBytes(s.MSpanSys))
234-
fmt.Fprintf(conn, "mcache-inuse: %v\n", formatBytes(s.MCacheInuse))
234+
fmt.Fprintf(conn, "mcache-in-use: %v\n", formatBytes(s.MCacheInuse))
235235
fmt.Fprintf(conn, "mcache-sys: %v\n", formatBytes(s.MCacheSys))
236236
fmt.Fprintf(conn, "other-sys: %v\n", formatBytes(s.OtherSys))
237237
fmt.Fprintf(conn, "gc-sys: %v\n", formatBytes(s.GCSys))

0 commit comments

Comments
 (0)