mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-25 07:32:19 +00:00
Add signed off to commit (#1766)
- Fix error string should not be capitalized from [Golang coding convention](https://github.com/golang/go/wiki/CodeReviewComments#error-strings) - Fix some typos Signed-off-by: Nguyen Quang Huy <huynq0911@gmail.com>
This commit is contained in:
parent
57c4ff10ab
commit
edf170d03b
@ -26,7 +26,7 @@ deprecated. API v1 will be removed with Alertmanager release v0.18.0.
|
||||
* [FEATURE] Add support for images and links in the PagerDuty notification config (#1559)
|
||||
* [FEATURE] Add support for grouping by all labels (#1588)
|
||||
* [FEATURE] [amtool] Add timeout support to amtool commands (#1471)
|
||||
* [FEATURE] [amtool] Added `config routes` tools for vizualization and testing routes (#1511)
|
||||
* [FEATURE] [amtool] Added `config routes` tools for visualization and testing routes (#1511)
|
||||
* [FEATURE] [amtool] Support adding alerts using amtool (#1461)
|
||||
* [ENHANCEMENT] Add support for --log.format (#1658)
|
||||
* [ENHANCEMENT] Add CORS support to API v2 (#1667)
|
||||
|
@ -51,7 +51,7 @@ func newFakeAlerts(alerts []*types.Alert, withErr bool) *fakeAlerts {
|
||||
fps: fps,
|
||||
}
|
||||
if withErr {
|
||||
f.err = errors.New("Error occured")
|
||||
f.err = errors.New("error occurred")
|
||||
}
|
||||
return f
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ func checkResolvedReceivers(mainRoute *dispatch.Route, ls client.LabelSet, expec
|
||||
return err
|
||||
}
|
||||
if !reflect.DeepEqual(expectedReceivers, resolvedReceivers) {
|
||||
return fmt.Errorf("Unexpected routing result want: `%s`, got: `%s`", strings.Join(expectedReceivers, ","), strings.Join(resolvedReceivers, ","))
|
||||
return fmt.Errorf("unexpected routing result want: `%s`, got: `%s`", strings.Join(expectedReceivers, ","), strings.Join(resolvedReceivers, ","))
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ Your app should be available at `http://localhost:<port>`. Navigate to
|
||||
`src/Main.elm`. Any changes to the file system are detected automatically,
|
||||
triggering a recompile of the project.
|
||||
|
||||
## Commiting changes
|
||||
## Committing changes
|
||||
|
||||
Before you commit changes, please run `make build-all` on the root level
|
||||
Makefile. Please include `asset/*_vfsdata.go` in your commit.
|
||||
|
Loading…
Reference in New Issue
Block a user