Skip to content

chown: fix missing function on non-linux OS#6

Merged
1 commit merged intocilium:masterfrom
devodev:pr/devodev/fix-mac-compile-error-chown
Nov 16, 2024
Merged

chown: fix missing function on non-linux OS#6
1 commit merged intocilium:masterfrom
devodev:pr/devodev/fix-mac-compile-error-chown

Conversation

@devodev
Copy link
Copy Markdown

@devodev devodev commented Nov 15, 2024

In #5, we introduced a new chownWithMode func in chown_linux.go and forgot to add it as well for non-linux OS.

CC @lambdanis

Signed-off-by: Alexandre Barone <abalexandrebarone@gmail.com>
Copy link
Copy Markdown
Member

@glibsm glibsm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More platforms than just linux are capable of chown, but my priority is to be able to compile the go code on any platform without undefined error.

Copy link
Copy Markdown

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ghost ghost merged commit 6fa4074 into cilium:master Nov 16, 2024
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants