Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <[email protected]>
  • Loading branch information
qweeah committed Dec 20, 2023
1 parent 3024d58 commit 1b6ce1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/oras/internal/meta/manfiest_fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func lowerFieldName(name string) string {
i := 0
for ; i < len(name); i++ {
c := rune(name[i])
if unicode.IsUpper(c) {
if !unicode.IsUpper(c) {
break
}
ret += string(unicode.ToLower(c))
Expand Down

0 comments on commit 1b6ce1a

Please sign in to comment.