aboutsummaryrefslogtreecommitdiff
path: root/middleware/kubernetes
diff options
context:
space:
mode:
Diffstat (limited to 'middleware/kubernetes')
-rw-r--r--middleware/kubernetes/autopath.go2
-rw-r--r--middleware/kubernetes/kubernetes_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/middleware/kubernetes/autopath.go b/middleware/kubernetes/autopath.go
index 22ef79a27..ac86cfd6b 100644
--- a/middleware/kubernetes/autopath.go
+++ b/middleware/kubernetes/autopath.go
@@ -6,7 +6,7 @@ import "github.com/miekg/dns"
// * reverts question section of a packet to its original state.
// This is done to avoid the 'Question section mismatch:' error in client.
// * Defers write to the client if the response code is NXDOMAIN. This is needed
-// to enable further search path probing if a search was not sucessful.
+// to enable further search path probing if a search was not successful.
// * Allow forced write to client regardless of response code. This is needed to
// write the packet to the client if the final search in the path fails to
// produce results.
diff --git a/middleware/kubernetes/kubernetes_test.go b/middleware/kubernetes/kubernetes_test.go
index 740baf759..3323ff893 100644
--- a/middleware/kubernetes/kubernetes_test.go
+++ b/middleware/kubernetes/kubernetes_test.go
@@ -71,7 +71,7 @@ func TestIsNameError(t *testing.T) {
if !k.IsNameError(errInvalidRequest) {
t.Errorf("Expected 'true' for '%v'", errInvalidRequest)
}
- otherErr := errors.New("Some other error occured")
+ otherErr := errors.New("Some other error occurred")
if k.IsNameError(otherErr) {
t.Errorf("Expected 'true' for '%v'", otherErr)
}