Add comment

Signed-off-by: Evans Mungai <mbuevans@gmail.com>
pull/32169/head
Evans Mungai 1 month ago
parent e45e85824f
commit 6a12c4adc3
No known key found for this signature in database
GPG Key ID: BBEB812143DD14E1

@ -26,6 +26,7 @@ package testmode
// 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
// gated on it dead-code-eliminate in release builds.
// Remove this function in Helm v5. Any functionality needing it should be revised
func IsTestMode() bool {
return testMode
}

Loading…
Cancel
Save