mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
Typo fixes (#2031)
This commit is contained in:
@@ -92,7 +92,7 @@ kubernetes [ZONES...] {
|
||||
* `noendpoints` will turn off the serving of endpoint records by disabling the watch on endpoints.
|
||||
All endpoint queries and headless service queries will result in an NXDOMAIN.
|
||||
* `transfer` enables zone transfers. It may be specified multiples times. `To` signals the direction
|
||||
(only `to` is alllow). **ADDRESS** must be denoted in CIDR notation (127.0.0.1/32 etc.) or just as
|
||||
(only `to` is allow). **ADDRESS** must be denoted in CIDR notation (127.0.0.1/32 etc.) or just as
|
||||
plain addresses. The special wildcard `*` means: the entire internet.
|
||||
Sending DNS notifies is not supported.
|
||||
* `fallthrough` **[ZONES...]** If a query for a record in the zones for which the plugin is authoritative
|
||||
|
||||
@@ -35,7 +35,7 @@ func (k *Kubernetes) AutoPath(state request.Request) []string {
|
||||
}
|
||||
|
||||
search = append(search, k.autoPathSearch...)
|
||||
search = append(search, "") // sentinal
|
||||
search = append(search, "") // sentinel
|
||||
return search
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
func TestKubernetesParse(t *testing.T) {
|
||||
tests := []struct {
|
||||
input string // Corefile data as string
|
||||
shouldErr bool // true if test case is exected to produce an error.
|
||||
shouldErr bool // true if test case is expected to produce an error.
|
||||
expectedErrContent string // substring from the expected error. Empty for positive cases.
|
||||
expectedZoneCount int // expected count of defined zones.
|
||||
expectedNSCount int // expected count of namespaces.
|
||||
@@ -494,7 +494,7 @@ kubernetes cluster.local`,
|
||||
func TestKubernetesParseEndpointPodNames(t *testing.T) {
|
||||
tests := []struct {
|
||||
input string // Corefile data as string
|
||||
shouldErr bool // true if test case is exected to produce an error.
|
||||
shouldErr bool // true if test case is expected to produce an error.
|
||||
expectedErrContent string // substring from the expected error. Empty for positive cases.
|
||||
expectedEndpointMode bool
|
||||
}{
|
||||
@@ -557,7 +557,7 @@ func TestKubernetesParseEndpointPodNames(t *testing.T) {
|
||||
func TestKubernetesParseNoEndpoints(t *testing.T) {
|
||||
tests := []struct {
|
||||
input string // Corefile data as string
|
||||
shouldErr bool // true if test case is exected to produce an error.
|
||||
shouldErr bool // true if test case is expected to produce an error.
|
||||
expectedErrContent string // substring from the expected error. Empty for positive cases.
|
||||
expectedEndpointsInit bool
|
||||
}{
|
||||
@@ -619,7 +619,7 @@ func TestKubernetesParseNoEndpoints(t *testing.T) {
|
||||
func TestKubernetesParseIgnoreEmptyService(t *testing.T) {
|
||||
tests := []struct {
|
||||
input string // Corefile data as string
|
||||
shouldErr bool // true if test case is exected to produce an error.
|
||||
shouldErr bool // true if test case is expected to produce an error.
|
||||
expectedErrContent string // substring from the expected error. Empty for positive cases.
|
||||
expectedEndpointsInit bool
|
||||
}{
|
||||
|
||||
Reference in New Issue
Block a user