find . -type f \( -name "*.go" -or -name "*.md" \) -print0 | xargs -0 gsed -i 's/the the /the /g'

This commit is contained in:
phillc
2020-09-21 16:37:12 -04:00
parent 4304f4bdbd
commit adbc7c2172
5 changed files with 6 additions and 6 deletions

View File

@@ -260,7 +260,7 @@ func endpointsControllerKey(endpointSlice *discovery.EndpointSlice) (string, err
return fmt.Sprintf("%s/%s", endpointSlice.Namespace, serviceName), nil
}
// skipMirror return true if the the LabelSkipMirror label has been set to
// skipMirror return true if the LabelSkipMirror label has been set to
// "true".
func skipMirror(labels map[string]string) bool {
skipMirror, _ := labels[discovery.LabelSkipMirror]