Skip to content

Commit 683ab56

Browse files
[no-relnote] refactor use p as receiver for nvmlHealthProvider
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
1 parent e8b1949 commit 683ab56

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

internal/rm/health.go

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,16 @@ import (
3232
)
3333

3434
const (
35-
// envDisableHealthChecks defines the environment variable that is
36-
// checked to determine whether healthchecks should be disabled. If
37-
// this envvar is set to "all" or contains the string "xids",
38-
// healthchecks are disabled entirely. If set, the envvar is treated
39-
// as a comma-separated list of Xids to ignore. Note that this is in
40-
// addition to the Application errors that are already ignored.
35+
// envDisableHealthChecks defines the environment variable that is checked to determine whether healthchecks
36+
// should be disabled. If this envvar is set to "all" or contains the string "xids", healthchecks are
37+
// disabled entirely. If set, the envvar is treated as a comma-separated list of Xids to ignore. Note that
38+
// this is in addition to the Application errors that are already ignored.
4139
envDisableHealthChecks = "DP_DISABLE_HEALTHCHECKS"
42-
// envEnableHealthChecks defines the environment variable that is
43-
// checked to determine which XIDs should be explicitly enabled. XIDs
44-
// specified here override the ones specified in the
45-
// `DP_DISABLE_HEALTHCHECKS`. Note that this also allows individual
46-
// XIDs to be selected when ALL XIDs are disabled.
40+
// envEnableHealthChecks defines the environment variable that is checked to
41+
// determine which XIDs should be explicitly enabled. XIDs specified here
42+
// override the ones specified in the `DP_DISABLE_HEALTHCHECKS`.
43+
// Note that this also allows individual XIDs to be selected when ALL XIDs
44+
// are disabled.
4745
envEnableHealthChecks = "DP_ENABLE_HEALTHCHECKS"
4846
)
4947

0 commit comments

Comments
 (0)