Browse Source

fix comments typos

s/propogated/propagated

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
Chen Hanxiao 10 năm trước cách đây
mục cha
commit
ef3192f161

+ 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
 	// 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
 	// recieves the arguments but not the command, and returns an AST after
 	// reformulating the arguments according to the rules in the parser
 	// 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.
 	// be incorporated directly into the existing AST as a next.
 	dispatch = map[string]func(string) (*Node, map[string]bool, error){
 	dispatch = map[string]func(string) (*Node, map[string]bool, error){
 		"user":       parseString,
 		"user":       parseString,

+ 1 - 1
pkg/mount/sharedsubtree_linux_test.go

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