Selaa lähdekoodia

Merge pull request #10544 from chenhanxiao/comment-typo

fix comments typos
Alexander Morozov 10 vuotta sitten
vanhempi
commit
bdbdbcc945
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      builder/parser/parser.go
  2. 1 1
      pkg/mount/sharedsubtree_linux_test.go

+ 1 - 1
builder/parser/parser.go

@@ -42,7 +42,7 @@ func init() {
 	// The command is parsed and mapped to the line parser. The line parser
 	// recieves the arguments but not the command, and returns an AST after
 	// reformulating the arguments according to the rules in the parser
-	// functions. Errors are propogated up by Parse() and the resulting AST can
+	// functions. Errors are propagated up by Parse() and the resulting AST can
 	// be incorporated directly into the existing AST as a next.
 	dispatch = map[string]func(string) (*Node, map[string]bool, error){
 		"user":       parseString,

+ 1 - 1
pkg/mount/sharedsubtree_linux_test.go

@@ -9,7 +9,7 @@ import (
 	"testing"
 )
 
-// nothing is propogated in or out
+// nothing is propagated in or out
 func TestSubtreePrivate(t *testing.T) {
 	tmp := path.Join(os.TempDir(), "mount-tests")
 	if err := os.MkdirAll(tmp, 0777); err != nil {