Spelling nits.

This commit is contained in:
jregan
2018-10-01 10:56:35 -07:00
parent c129a3d3b8
commit c9aff4c47a
4 changed files with 8 additions and 8 deletions

View File

@@ -21,7 +21,7 @@ package patch
// https://github.com/kubernetes/community/blob/master/contributors/devel/strategic-merge-patch.md
type StrategicMerge string
// Append appends a slice of patch paths to a PatchStategicMerge slice
// Append appends a slice of patch paths to a StrategicMerge slice
func Append(patches []StrategicMerge, paths ...string) []StrategicMerge {
for _, p := range paths {
patches = append(patches, StrategicMerge(p))
@@ -29,7 +29,7 @@ func Append(patches []StrategicMerge, paths ...string) []StrategicMerge {
return patches
}
// Exist determines if a patch path exists in a slice of PatchStategicMerge
// Exist determines if a patch path exists in a slice of StrategicMerge
func Exist(patches []StrategicMerge, path string) bool {
for _, p := range patches {
if p == StrategicMerge(path) {