Commit 073a363
authored
improve output of sdnresource dump (#507)
# Description
This pull request makes minor improvements to the SDN diagnostics
scripts by enhancing logging and clarifying the handling of function
output. The main changes focus on providing better feedback after
resource dumps and ensuring that command outputs are not unnecessarily
displayed.
Enhancements to resource dump feedback and output handling:
* Added a log message in `Invoke-SdnResourceDump` to indicate the number
of files exported and the output directory, improving visibility into
the results of the resource dump operation.
(`src/modules/SdnDiag.NetworkController.psm1`)
* Suppressed unwanted output from `Invoke-SdnResourceDump` in
`Start-SdnDataCollection` by assigning the result to `$null`, ensuring
cleaner script output. (`src/SdnDiagnostics.psm1`)
# Change type
- [ ] Bug fix (non-breaking change)
- [ ] Code style update (formatting, local variables)
- [x] 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.1 parent 772a681 commit 073a363
File tree
2 files changed
+6
-1
lines changed- src
- modules
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
951 | 951 | | |
952 | 952 | | |
953 | 953 | | |
954 | | - | |
| 954 | + | |
955 | 955 | | |
956 | 956 | | |
957 | 957 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2459 | 2459 | | |
2460 | 2460 | | |
2461 | 2461 | | |
| 2462 | + | |
| 2463 | + | |
| 2464 | + | |
| 2465 | + | |
| 2466 | + | |
2462 | 2467 | | |
2463 | 2468 | | |
2464 | 2469 | | |
| |||
0 commit comments