Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sharnoff committed Oct 12, 2023
1 parent c962f8c commit 987774d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/patch/patch.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type Operation struct {

var pathEscaper = strings.NewReplacer("~", "~0", "/", "~1")

// PathEscape escapes a string for use in a segement of the Path field of an Operation
// PathEscape escapes a string for use in a segment of the Path field of an Operation
//
// This is useful, for example, when using arbitrary strings as map keys (like Kubernetes labels or
// annotations).
Expand Down

0 comments on commit 987774d

Please sign in to comment.