From 93d7be160430307bcb1abff3e9075bcc3d437bf7 Mon Sep 17 00:00:00 2001 From: Ainar Garipov Date: Wed, 6 Sep 2023 19:42:34 +0300 Subject: [PATCH] Pull request 1996: fix-typo Squashed commit of the following: commit 992ad5752cd529c915e28600ef34511d3c941fee Author: Ainar Garipov Date: Wed Sep 6 15:54:58 2023 +0300 all: fix some typos --- internal/aghos/fswatcher.go | 2 +- internal/dhcpd/v4_unix_test.go | 2 +- internal/dnsforward/dnsforward.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/aghos/fswatcher.go b/internal/aghos/fswatcher.go index 8f5d1d60..32d88f21 100644 --- a/internal/aghos/fswatcher.go +++ b/internal/aghos/fswatcher.go @@ -113,7 +113,7 @@ func (w *osWatcher) handleEvents() { } // Skip the following events assuming that sometimes the same event - // occurrs several times. + // occurs several times. for ok := true; ok; { select { case _, ok = <-ch: diff --git a/internal/dhcpd/v4_unix_test.go b/internal/dhcpd/v4_unix_test.go index 5f6cac1b..3ad43b74 100644 --- a/internal/dhcpd/v4_unix_test.go +++ b/internal/dhcpd/v4_unix_test.go @@ -875,7 +875,7 @@ func TestV4Server_handleDecline(t *testing.T) { func TestV4Server_handleRelease(t *testing.T) { const ( - dynamicName = "dymamic-client" + dynamicName = "dynamic-client" anotherName = "another-client" ) diff --git a/internal/dnsforward/dnsforward.go b/internal/dnsforward/dnsforward.go index 6782a5c3..f5fd5e5c 100644 --- a/internal/dnsforward/dnsforward.go +++ b/internal/dnsforward/dnsforward.go @@ -55,7 +55,7 @@ var ( var webRegistered bool -// DHCP is an interface for accesing DHCP lease data needed in this package. +// DHCP is an interface for accessing DHCP lease data needed in this package. type DHCP interface { // HostByIP returns the hostname of the DHCP client with the given IP // address. The address will be netip.Addr{} if there is no such client,