mirror of https://github.com/k3s-io/k3s
Merge pull request #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 ```pull/8/head
commit
965df07447
|
@ -82,7 +82,7 @@ func Convert_Slice_string_To_int(input *[]string, out *int, s conversion.Scope)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Conver_Slice_string_To_bool will convert a string parameter to boolean.
|
// Convert_Slice_string_To_bool will convert a string parameter to boolean.
|
||||||
// Only the absence of a value, a value of "false", or a value of "0" resolve to false.
|
// Only the absence of a value, a value of "false", or a value of "0" resolve to false.
|
||||||
// Any other value (including empty string) resolves to true.
|
// Any other value (including empty string) resolves to true.
|
||||||
func Convert_Slice_string_To_bool(input *[]string, out *bool, s conversion.Scope) error {
|
func Convert_Slice_string_To_bool(input *[]string, out *bool, s conversion.Scope) error {
|
||||||
|
|
Loading…
Reference in New Issue