Skip to content

Commit 409f7b4

Browse files
authored
Merge pull request moby#5571 from lvyaoting/master
chore: fix some function name in comment
2 parents a14b247 + 5a0e701 commit 409f7b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cache/refs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ func (sr *immutableRef) Clone() ImmutableRef {
655655
return sr.clone()
656656
}
657657

658-
// layertoDistributable changes the passed in media type to the "distributable" version of the media type.
658+
// layerToDistributable changes the passed in media type to the "distributable" version of the media type.
659659
func layerToDistributable(mt string) string {
660660
if !images.IsNonDistributable(mt) {
661661
// Layer is already a distributable media type (or this is not even a layer).

util/system/path_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func TestCheckSystemDriveAndRemoveDriveLetter(t *testing.T) {
165165
}
166166
}
167167

168-
// TestNormalizeWorkdir tests NormalizeWorkdir
168+
// TestNormalizeWorkdirWindows tests NormalizeWorkdir
169169
func TestNormalizeWorkdirWindows(t *testing.T) {
170170
testCases := []struct {
171171
name string

0 commit comments

Comments
 (0)