Skip to content

Commit

Permalink
Merge pull request #1349 from Nordix/tuomo/fix-local-golint
Browse files Browse the repository at this point in the history
🌱 fix issue with git directory ownership in golint
  • Loading branch information
metal3-io-bot authored Sep 4, 2023
2 parents 0774930 + 4908d3d commit 5042de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/golint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if [ "${IS_CONTAINER}" != "false" ]; then

make lint
else
"${CONTAINER_RUNTIME}" run --rm \
"${CONTAINER_RUNTIME}" run -u "$(id -u)" --rm \
--env IS_CONTAINER=TRUE \
--volume "${PWD}:/go/src/github.com/metal3-io/baremetal-operator:rw,z" \
--entrypoint sh \
Expand Down

0 comments on commit 5042de2

Please sign in to comment.