From e158c53fa988832190611ca8343c2d084c5fb35d Mon Sep 17 00:00:00 2001 From: JoeWrightss <42261994+JoeWrightss@users.noreply.github.com> Date: Fri, 1 Feb 2019 22:35:32 +0800 Subject: [PATCH] Fix some typos in comment (#5175) Signed-off-by: zhoulin xie --- pkg/labels/labels.go | 2 +- promql/parse_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/labels/labels.go b/pkg/labels/labels.go index e97069e67..a10f636d7 100644 --- a/pkg/labels/labels.go +++ b/pkg/labels/labels.go @@ -240,7 +240,7 @@ func Compare(a, b Labels) int { return len(a) - len(b) } -// Builder allows modifiying Labels. +// Builder allows modifying Labels. type Builder struct { base Labels del []string diff --git a/promql/parse_test.go b/promql/parse_test.go index b826c7c88..388c2f39f 100644 --- a/promql/parse_test.go +++ b/promql/parse_test.go @@ -903,7 +903,7 @@ var testExpr = []struct { }, { input: `foo{a>="b"}`, fail: true, - // TODO(fabxc): willingly lexing wrong tokens allows for more precrise error + // TODO(fabxc): willingly lexing wrong tokens allows for more precise error // messages from the parser - consider if this is an option. errMsg: "unexpected character inside braces: '>'", }, {