Sfoglia il codice sorgente

fix typos

Signed-off-by: Jes Cok <[email protected]>
Jes Cok 2 anni fa
parent
commit
1a41678c58
3 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 1 1
      pkg/e2e/compose_test.go
  2. 1 1
      pkg/watch/notify.go
  3. 1 1
      pkg/watch/paths.go

+ 1 - 1
pkg/e2e/compose_test.go

@@ -277,7 +277,7 @@ networks:
 	})
 }
 
-func TestStopWithDependeciesAttached(t *testing.T) {
+func TestStopWithDependenciesAttached(t *testing.T) {
 	const projectName = "compose-e2e-stop-with-deps"
 	c := NewParallelCLI(t, WithEnv("COMMAND=echo hello"))
 

+ 1 - 1
pkg/watch/notify.go

@@ -68,7 +68,7 @@ type Notify interface {
 // - Watch /src/repo, but ignore /src/repo/.git
 // - Watch /src/repo, but ignore everything in /src/repo/bazel-bin except /src/repo/bazel-bin/app-binary
 //
-// The PathMatcher inteface helps us manage these ignores.
+// The PathMatcher interface helps us manage these ignores.
 type PathMatcher interface {
 	Matches(file string) (bool, error)
 

+ 1 - 1
pkg/watch/paths.go

@@ -59,7 +59,7 @@ func dedupePathsForRecursiveWatcher(paths []string) []string {
 			}
 
 			if IsChild(current, existing) {
-				// Mark the element empty fo removal.
+				// Mark the element empty for removal.
 				result[i] = ""
 				hasRemovals = true
 			}