Remove some duplicated words (#6882)

Signed-off-by: Pham Duc Hanh <hanhpd@fujitsu.com>
This commit is contained in:
LongKB 2020-02-27 13:08:31 +07:00 committed by GitHub
parent 1d396b96dc
commit 82f7ed208b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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...))
}

View file

@ -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.