Skip to content

Commit 0ddd59d

Browse files
committed
Fix typos
1 parent bd9c619 commit 0ddd59d

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# haproxy-reload-wrapper
1+
# HAProxy Reload Wrapper
22

3-
![Build](https://github.com/snorwin/haproxy-reload-wrapper/actions/workflows/main.yml/badge.svg)
4-
![Release](https://github.com/snorwin/haproxy-reload-wrapper/actions/workflows/publish.yml/badge.svg)
5-
![E2E Tests](https://github.com/snorwin/haproxy-reload-wrapper/actions/workflows/test.yml/badge.svg)
6-
[![Go Report Card](https://goreportcard.com/badge/github.com/snorwin/haproxy-reload-wrapper?style=plastic)](https://goreportcard.com/report/github.com/snorwin/haproxy-reload-wrapper)
7-
[![Releases](https://img.shields.io/github/v/release/snorwin/haproxy-reload-wrapper?style=plastic)](https://github.com/snorwin/haproxy-reload-wrapper/releases)
8-
[![License](https://img.shields.io/badge/License-MIT-blue.svg?style=plastic)](https://opensource.org/licenses/MIT)
3+
![Build](https://img.shields.io/github/workflow/status/snorwin/haproxy-reload-wrapper/Publish%20(main)?label=Build%20%28main%29&style=flat-square)
4+
![Release](https://img.shields.io/github/workflow/status/snorwin/haproxy-reload-wrapper/Publish%20(Release)?label=Build%20%28Release%29&style=flat-square)
5+
![E2E Tests](https://img.shields.io/github/workflow/status/snorwin/haproxy-reload-wrapper/E2E%20Tests?label=E2E%20Tests&style=flat-square)
6+
[![Go Report Card](https://goreportcard.com/badge/github.com/snorwin/haproxy-reload-wrapper?style=flat-square)](https://goreportcard.com/report/github.com/snorwin/haproxy-reload-wrapper)
7+
[![Releases](https://img.shields.io/github/v/release/snorwin/haproxy-reload-wrapper?style=flat-square&label=Release)](https://github.com/snorwin/haproxy-reload-wrapper/releases)
8+
[![License](https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square)](https://opensource.org/licenses/MIT)

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func main() {
105105
log.Alert(err.Error())
106106
case sig := <-sigs:
107107
// handle SIGINT, SIGTERM, SIGUSR1 and propagate it to child process
108-
log.Notice(fmt.Sprintf("recived singal %d", sig))
108+
log.Notice(fmt.Sprintf("received singal %d", sig))
109109

110110
if cmd.Process == nil {
111111
// received termination suddenly before child process was even started
@@ -122,7 +122,7 @@ func main() {
122122
case <-cmd.Terminated:
123123
// check for unexpected termination
124124
if !terminated {
125-
log.Emergency(fmt.Sprintf("proccess %d teminated unexpectedly : %s", cmd.Process.Pid, cmd.Status()))
125+
log.Emergency(fmt.Sprintf("process %d teminated unexpectedly : %s", cmd.Process.Pid, cmd.Status()))
126126
if cmd.ProcessState != nil && cmd.ProcessState.ExitCode() != 0 {
127127
os.Exit(cmd.ProcessState.ExitCode())
128128
} else {

0 commit comments

Comments
 (0)