Skip to content

Commit

Permalink
Merge pull request #5571 from lvyaoting/master
Browse files Browse the repository at this point in the history
chore: fix some function name in comment
  • Loading branch information
tonistiigi authored Dec 5, 2024
2 parents a14b247 + 5a0e701 commit 409f7b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cache/refs.go
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ func (sr *immutableRef) Clone() ImmutableRef {
return sr.clone()
}

// layertoDistributable changes the passed in media type to the "distributable" version of the media type.
// layerToDistributable changes the passed in media type to the "distributable" version of the media type.
func layerToDistributable(mt string) string {
if !images.IsNonDistributable(mt) {
// Layer is already a distributable media type (or this is not even a layer).
Expand Down
2 changes: 1 addition & 1 deletion util/system/path_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func TestCheckSystemDriveAndRemoveDriveLetter(t *testing.T) {
}
}

// TestNormalizeWorkdir tests NormalizeWorkdir
// TestNormalizeWorkdirWindows tests NormalizeWorkdir
func TestNormalizeWorkdirWindows(t *testing.T) {
testCases := []struct {
name string
Expand Down

0 comments on commit 409f7b4

Please sign in to comment.