Skip to content

Commit

Permalink
Merge pull request moby#48781 from jinjiadu/master
Browse files Browse the repository at this point in the history
chore: fix some function names
  • Loading branch information
thaJeztah authored Oct 28, 2024
2 parents 25787fc + 3cc736e commit 9b5c909
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions integration/service/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ func TestCreateServiceConfigFileMode(t *testing.T) {
assert.NilError(t, err)
}

// TestServiceCreateSysctls tests that a service created with sysctl options in
// TestCreateServiceSysctls tests that a service created with sysctl options in
// the ContainerSpec correctly applies those options.
//
// To test this, we're going to create a service with the sysctl option
Expand Down Expand Up @@ -392,7 +392,7 @@ func TestCreateServiceSysctls(t *testing.T) {
}
}

// TestServiceCreateCapabilities tests that a service created with capabilities options in
// TestCreateServiceCapabilities tests that a service created with capabilities options in
// the ContainerSpec correctly applies those options.
//
// To test this, we're going to create a service with the capabilities option
Expand Down
2 changes: 1 addition & 1 deletion internal/safepath/join_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func tempMountPoint(sourceFd int) (string, error) {
return p, nil
}

// cleanupSafePaths returns a function that unmounts the path and removes the
// cleanupSafePath returns a function that unmounts the path and removes the
// mountpoint.
func cleanupSafePath(path string) func(context.Context) error {
return func(ctx context.Context) error {
Expand Down

0 comments on commit 9b5c909

Please sign in to comment.