Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
pull/32169/head
Evans Mungai 3 months ago committed by GitHub
parent 6a12c4adc3
commit ec41aa7fe4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -26,7 +26,7 @@ package testmode
// from production code paths that need to behave differently under test. // from production code paths that need to behave differently under test.
// Backed by a compile-time const (see mode_on.go / mode_off.go) so branches // Backed by a compile-time const (see mode_on.go / mode_off.go) so branches
// gated on it dead-code-eliminate in release builds. // gated on it dead-code-eliminate in release builds.
// Remove this function in Helm v5. Any functionality needing it should be revised // Remove this function in Helm v5. Any functionality needing it should be revised.
func IsTestMode() bool { func IsTestMode() bool {
return testMode return testMode
} }

Loading…
Cancel
Save