-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Fixups for 39695 - edit comments, redundant asserts #39752
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
Conversation
@ddebroy PTAL |
LGTM |
I am hitting exactly the same windowsRS1 failure in #39748 which does not have these changes. It seems that the particular test is flaky. I do see some instances of that particular error message being discussed in this issue: #36218
|
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!
oh! looks like there's a linting issue
|
1. Modify comments added in 5858a99 Windows Volume GUID path format is: \\?\Volume{<GUID Value>}\<path> Rewrote the example given in comments to conform to the format.. 2. Remove two redundant asserts[assert.NilError]. They are redundant because the last statement will not change the value of err. Signed-off-by: Vikram bir Singh <vikrambir.singh@docker.com>
gofmt issue fixed [was due to dangling space at end of line]. Squashed, rebased and force pushed to vikramhh:39695-fix |
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.
thanks! still LGTM
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
follow-up to #39695
Modify comments added in 5858a99 (Builder: fix "COPY --from" to non-existing directory on Windows #39695)
Windows Volume GUID path format is: \?\Volume{}<path>
Rewrote the example given in comments to conform to the format..
Remove two redundant asserts[assert.NilError]. They are redundant
because the last statement will not change the value of err.
Signed-off-by: Vikram bir Singh vikrambir.singh@docker.com
- What I did
Modified comments and redundant asserts.
- How I did it
Edited comments, removed the redundant asserts.
- How to verify it
Code inspection is the best way to verify these changes.
The only other way that I can think of verifying the redundant asserts is to
create an environment where they would be fired and verify they appear twice as failures.
- Description for the changelog
Fixups for 39695 - edit comments, redundant asserts
- A picture of a cute animal (not mandatory but encouraged)