Skip to content

Commit ae21184

Browse files
gorangalinecmjuraga
authored andcommitted
MINOR: typos
1 parent 5d67f17 commit ae21184

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Data Plane API is generated using [go-swagger](https://github.com/go-swagger/go-
4444
```
4545

4646
This command generates some of the files in this project, which are marked with // Code generated by go-swagger; DO NOT EDIT.
47-
comments at the top of the files. These are not to be edited, as they are overwritten when specification is changed and the above-mentioned command is run. If you want to change those files, please change the specification where neccessary and then generate them again.
47+
comments at the top of the files. These are not to be edited, as they are overwritten when specification is changed and the above-mentioned command is run. If you want to change those files, please change the specification where necessary and then generate them again.
4848

4949
## Commit Messages and General Style
5050

configure_data_plane.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ import (
5757
"github.com/haproxytech/dataplaneapi/operations"
5858

5959
"github.com/GehirnInc/crypt"
60-
// import various crypting algorihtms
60+
// import various crypting algorithms
6161
_ "github.com/GehirnInc/crypt/md5_crypt"
6262
_ "github.com/GehirnInc/crypt/sha256_crypt"
6363
_ "github.com/GehirnInc/crypt/sha512_crypt"

haproxy/reload_agent.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func (ra *ReloadAgent) reloadHAProxy() (string, error) {
119119
log.Debug("HAProxy restarted with last known good config.")
120120
return output, err
121121
}
122-
log.Debug("Reload succesful")
122+
log.Debug("Reload successful")
123123
// if success, replace last known good file
124124
copyFile(ra.configFile, ra.lkgConfigFile)
125125
return output, nil
@@ -343,7 +343,7 @@ func (e *ReloadError) Error() string {
343343
return fmt.Sprintf(e.msg)
344344
}
345345

346-
// NewReloadError contstructor for ReloadError
346+
// NewReloadError constructor for ReloadError
347347
func NewReloadError(msg string) *ReloadError {
348348
return &ReloadError{msg: msg}
349349
}

0 commit comments

Comments
 (0)