Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
shinebayar-g committed Nov 3, 2021
1 parent 461dce7 commit 7f8c2e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func handleUfwRule(ch <-chan ufwEvent) {

if !checkIP(ip[0]) {
if !checkCIDR(ip[0]) {
fmt.Printf("ufw-docker-automated: address %s is not valid!\n", ip[0])
fmt.Printf("ufw-docker-automated: Address %s is not valid!\n", ip[0])
continue
}
}
Expand Down Expand Up @@ -170,8 +170,8 @@ func main() {
case err := <-errors:
if err != nil {
fmt.Println("ufw-docker-automated: Received an error:", err)
time.Sleep(3 * time.Second)
fmt.Println("ufw-docker-automated: reconnecing")
time.Sleep(5 * time.Second)
fmt.Println("ufw-docker-automated: Reconnecting..")
cli = createClient()
messages, errors = addFilters(cli, &ctx)
}
Expand Down

0 comments on commit 7f8c2e4

Please sign in to comment.