mirror of
https://github.com/containers/podman.git
synced 2025-07-03 17:27:18 +08:00
Disable lint on SHMLock struct
Golint wants to rename the struct. I think the name is fine. I can disable golint. Golint will no longer complain about the name. Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
This commit is contained in:

committed by
Matthew Heon

parent
a21f21efa1
commit
f38fccb48c
@ -16,8 +16,8 @@ var (
|
||||
)
|
||||
|
||||
// SHMLocks is a struct enabling POSIX semaphore locking in a shared memory
|
||||
// segment
|
||||
type SHMLocks struct {
|
||||
// segment.
|
||||
type SHMLocks struct { // nolint
|
||||
lockStruct *C.shm_struct_t
|
||||
valid bool
|
||||
maxLocks uint32
|
||||
|
Reference in New Issue
Block a user