-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add parameters for collect-windows-logs.ps1 #4325
Conversation
Pull Request Test Coverage Report for Build 8793716454Details
💛 - Coveralls |
bfe4f10
to
558221b
Compare
558221b
to
6fa479e
Compare
C:\aks-tools\DU\du.exe /accepteula | ||
C:\aks-tools\DU\du.exe -l 1 C:\ProgramData\containerd\root\io.containerd.snapshotter.v1.windows\snapshots\ > "$ENV:TEMP\$timeStamp-du-snapshot-folder-size.txt" | ||
$paths += "$ENV:TEMP\$timeStamp-du-snapshot-folder-size.txt" | ||
if ($args.Count -gt 0 -and $args -contains "disk-usage") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have a command to collect disk-usage so the name may be confused. How about containers-disk-usage or snapshots-size? Could we not use contain since a valid name with different suffix can also pass the validation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated code to switch
param
6fa479e
to
39fd0d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the PR.
39fd0d6
to
6d14566
Compare
What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Requirements:
Special notes for your reviewer:
Release note: