-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fix various linting issues #2974
Commits on Jun 2, 2021
-
libcontainer/user: remove unused ErrUnsupported
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 02fb18e - Browse repository at this point
Copy the full SHA 02fb18eView commit details -
libcontainer/apparmor: split api (exported) from implementation
This prevents having to maintain GoDoc for the stub implementations, and makes sure that the "stub" implementations have the same signature as the "non-stub" versions. Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c064304 - Browse repository at this point
Copy the full SHA c064304View commit details -
libcontainer/configs: add / fix godoc (golint)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e204d6a - Browse repository at this point
Copy the full SHA e204d6aView commit details -
libcontainer/user: fix capitalization (golint)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 81fc5c8 - Browse repository at this point
Copy the full SHA 81fc5c8View commit details -
libcontainer/nsenter: fix captalization (golint)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 340fdd9 - Browse repository at this point
Copy the full SHA 340fdd9View commit details -
libcontainer/devices: fix godoc (golint)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9be156c - Browse repository at this point
Copy the full SHA 9be156cView commit details -
libcontainer/system: fix godoc (golint)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c2416fb - Browse repository at this point
Copy the full SHA c2416fbView commit details -
libcontainer/cgroups/devices: if block ends with a return statement
libcontainer/cgroups/devices/devices_emulator.go:261:9: `if` block ends with a `return` statement, so drop this `else` and outdent its block (golint) } else { ^ Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1fb56f9 - Browse repository at this point
Copy the full SHA 1fb56f9View commit details -
libcontainer/keys: var should be sessKeyID/ringID (golint)
libcontainer/keys/keyctl.go:17:2: var `sessKeyId` should be `sessKeyID` (golint) sessKeyId, err := unix.KeyctlJoinSessionKeyring(name) ^ libcontainer/keys/keyctl.go:27:21: func parameter `ringId` should be `ringID` (golint) func ModKeyringPerm(ringId KeySerial, mask, setbits uint32) error { ^ Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3e1bcb1 - Browse repository at this point
Copy the full SHA 3e1bcb1View commit details