Skip to content

Conversation

@ivan1993spb
Copy link

Added a method which returns the name of a namespace. If the target namespace is unnamed, the method returns empty string

@ivan1993spb ivan1993spb force-pushed the get-netns-name branch 5 times, most recently from 2a8a17d to cb4e287 Compare May 2, 2023 11:47
@ivan1993spb
Copy link
Author

What do you think how the method signature should look like?

func (ns NsHandle) Name() string vs func (ns NsHandle) Name() (string, error) which one would be better?

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.

1 participant