Skip to content

Commit

Permalink
chore: fix some function name in comment
Browse files Browse the repository at this point in the history
Signed-off-by: lvyaoting <[email protected]>
  • Loading branch information
lvyaoting committed Dec 5, 2024
1 parent a14b247 commit 5a0e701
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 5a0e701

Please sign in to comment.