diff options
Diffstat (limited to 'internal')
-rwxr-xr-x | internal/protocol.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/protocol.go b/internal/protocol.go index a099ce4d..19678067 100755 --- a/internal/protocol.go +++ b/internal/protocol.go @@ -20,7 +20,7 @@ type pidCommand struct { } func SendControl(rl relay.Relay, payload interface{}) error { - const op = errors.Op("send control frame") + const op = errors.Op("send_control") fr := frame.NewFrame() fr.WriteVersion(frame.VERSION_1) fr.WriteFlags(frame.CONTROL) @@ -60,7 +60,7 @@ func SendControl(rl relay.Relay, payload interface{}) error { } func FetchPID(rl relay.Relay) (int64, error) { - const op = errors.Op("fetchPID") + const op = errors.Op("fetch_pid") err := SendControl(rl, pidCommand{Pid: os.Getpid()}) if err != nil { return 0, errors.E(op, err) |