summaryrefslogtreecommitdiff
path: root/tools/process.go
diff options
context:
space:
mode:
Diffstat (limited to 'tools/process.go')
-rw-r--r--tools/process.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/process.go b/tools/process.go
index d92755d1..50fe1616 100644
--- a/tools/process.go
+++ b/tools/process.go
@@ -27,7 +27,7 @@ type ProcessState struct {
// WorkerProcessState creates new worker state definition.
func WorkerProcessState(w worker.BaseProcess) (ProcessState, error) {
- const op = errors.Op("worker_process state")
+ const op = errors.Op("worker_process_state")
p, _ := process.NewProcess(int32(w.Pid()))
i, err := p.MemoryInfo()
if err != nil {