From 01ebbd8c2dde116b0ff402ccbdae09e4a39c5e7b Mon Sep 17 00:00:00 2001 From: Masaya Watanabe Date: Sat, 9 Oct 2021 09:43:44 +0900 Subject: [PATCH] Fix json tag for `Pos` at struct `Line` (#422) --- cli/exec/line.go | 2 +- pipeline/rpc/line.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/exec/line.go b/cli/exec/line.go index 88491f0cf..865d6fc33 100644 --- a/cli/exec/line.go +++ b/cli/exec/line.go @@ -21,7 +21,7 @@ type Line struct { Proc string `json:"proc,omitempty"` Time int64 `json:"time,omitempty"` Type int `json:"type,omitempty"` - Pos int `json:"pos,omityempty"` + Pos int `json:"pos,omitempty"` Out string `json:"out,omitempty"` } diff --git a/pipeline/rpc/line.go b/pipeline/rpc/line.go index 1cbe4cd1e..1978dcb4b 100644 --- a/pipeline/rpc/line.go +++ b/pipeline/rpc/line.go @@ -21,7 +21,7 @@ type Line struct { Proc string `json:"proc,omitempty"` Time int64 `json:"time,omitempty"` Type int `json:"type,omitempty"` - Pos int `json:"pos,omityempty"` + Pos int `json:"pos,omitempty"` Out string `json:"out,omitempty"` }