Skip to content

Commit

Permalink
User/sbagga/sdnhealth additions 2 (#383)
Browse files Browse the repository at this point in the history
# Description
Summary of changes:
- change to verbose logging in `CreateorUpdateFault` function in
`src/modules/SdnDiag.Health.psm1` (F6b72a08L289R289

# Change type
- [x] Bug fix (non-breaking change)
- [ ] Code style update (formatting, local variables)
- [ ] New Feature (non-breaking change that adds new functionality
without impacting existing)
- [ ] Breaking change (fix or feature that may cause functionality
impact)
- [ ] Other

# Checklist:
- [x] My code follows the style and contribution guidelines of this
project.
- [x] I have tested and validated my code changes.
  • Loading branch information
sbgms authored Feb 5, 2025
1 parent 7178edc commit 9cfaf1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/SdnDiag.Health.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ function CreateorUpdateFault {
[SdnFaultInfo] $Fault
)

Write-Host "CreateorUpdateFault HealthFaultEnabled: $($script:SdnDiagnostics_Health.Config.HealthFaultEnabled)"
Write-Verbose "CreateorUpdateFault HealthFaultEnabled: $($script:SdnDiagnostics_Health.Config.HealthFaultEnabled)"
if (-NOT $script:SdnDiagnostics_Health.Config.HealthFaultEnabled) {
return
}
Expand Down

0 comments on commit 9cfaf1d

Please sign in to comment.