-
Notifications
You must be signed in to change notification settings - Fork 262
fix minor review comment about the driver mutex and a minor lint issue #2302
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
There is no need for the extra pointer indirection. With this Driver can no longer be copied but that was never supported and now lint should even catch a copy and warn as copying a Mutex is not allowed. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
CI doesn't seem to cover the libsubid build tag. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This should ensure we run lint with the libsubid build tag. Now this is not perfect either, as we do not cover the !libsubid but that is only one single simple file. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Looks like it still doesn't run in CI with the tag... |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe, Luap99 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The library argument must be after the sources. Not sure why this works on fedora. Taken from a the podman fix[1]. [1] containers/podman@8ff54cb Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Ok, now it worked. The
|
cc @mtrmac (for the mutex change based off your comment) |
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
Thank you!
driver/overlay: inline the mutex in driver
There is no need for the extra pointer indirection. With this Driver can
no longer be copied but that was never supported and now lint should
even catch a copy and warn as copying a Mutex is not allowed.
pkg/idtools: fix lint gofumpt error
CI doesn't seem to cover the libsubid build tag.
CI: add libsubid to lint task
This should ensure we run lint with the libsubid build tag.
Now this is not perfect either, as we do not cover the !libsubid but
that is only one single simple file.