Skip to content

vendor: update opencontainers/selinux v1.3.1#40546

Merged
cpuguy83 merged 1 commit intomoby:masterfrom
thaJeztah:update_selinux_v1.3.1
Feb 21, 2020
Merged

vendor: update opencontainers/selinux v1.3.1#40546
cpuguy83 merged 1 commit intomoby:masterfrom
thaJeztah:update_selinux_v1.3.1

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

full diff: opencontainers/selinux@5215b18...v1.3.1

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Comment on lines +376 to +379
if err != nil {
return errors.Wrapf(err, "failed to set %s on procfs", fpath)
}
return nil
Copy link
Copy Markdown
Member Author

@thaJeztah thaJeztah Feb 21, 2020

Choose a reason for hiding this comment

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

Just noticed this; the conditional (if ..) actually isn't even needed, because errors.Wrap(f) will return nil if the error passed is nil

Copy link
Copy Markdown
Member

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants