Skip to content

Commit 965df07

Browse files
author
Kubernetes Submit Queue
authored
Merge pull request kubernetes#67885 from zanetworker/fix-typo-runtime-conversion
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. fix typo in runtime conversion.go **What this PR does / why we need it**: Fix typo in runtime conversion.go in function `Convert_Slice_string_To_bool` **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # NONE **Special notes for your reviewer**: NONE **Release note**: ```release-note NONE ```
2 parents 029bb4e + 54f6538 commit 965df07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

staging/src/k8s.io/apimachinery/pkg/runtime/conversion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func Convert_Slice_string_To_int(input *[]string, out *int, s conversion.Scope)
8282
return nil
8383
}
8484

85-
// Conver_Slice_string_To_bool will convert a string parameter to boolean.
85+
// Convert_Slice_string_To_bool will convert a string parameter to boolean.
8686
// Only the absence of a value, a value of "false", or a value of "0" resolve to false.
8787
// Any other value (including empty string) resolves to true.
8888
func Convert_Slice_string_To_bool(input *[]string, out *bool, s conversion.Scope) error {

0 commit comments

Comments
 (0)