From 82f7ed208bd09c10037dfa25e7bfbe64c47a4a74 Mon Sep 17 00:00:00 2001 From: LongKB Date: Thu, 27 Feb 2020 13:08:31 +0700 Subject: [PATCH] Remove some duplicated words (#6882) Signed-off-by: Pham Duc Hanh --- promql/parser/parse.go | 2 +- web/ui/react-app/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/promql/parser/parse.go b/promql/parser/parse.go index ded8b3d3f5..527b5b31b4 100644 --- a/promql/parser/parse.go +++ b/promql/parser/parse.go @@ -220,7 +220,7 @@ func ParseSeriesDesc(input string) (labels labels.Labels, values []SequenceValue return labels, values, err } -// addParseErrf formats the error and and appends it to the list of parsing errors. +// addParseErrf formats the error and appends it to the list of parsing errors. func (p *parser) addParseErrf(positionRange PositionRange, format string, args ...interface{}) { p.addParseErr(positionRange, errors.Errorf(format, args...)) } diff --git a/web/ui/react-app/README.md b/web/ui/react-app/README.md index 91092919f3..370d635faa 100755 --- a/web/ui/react-app/README.md +++ b/web/ui/react-app/README.md @@ -4,7 +4,7 @@ This file explains how to work with the React-based Prometheus UI. ## Introduction -The [React-based](https://reactjs.org/) Prometheus UI was was bootstrapped using [Create React App](https://github.com/facebook/create-react-app), a popular toolkit for generating React application setups. You can find general information about Create React App on [their documentation site](https://create-react-app.dev/). +The [React-based](https://reactjs.org/) Prometheus UI was bootstrapped using [Create React App](https://github.com/facebook/create-react-app), a popular toolkit for generating React application setups. You can find general information about Create React App on [their documentation site](https://create-react-app.dev/). Instead of plain JavaScript, we use [TypeScript](https://www.typescriptlang.org/) to ensure typed code.