diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-08-08 16:38:38 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-01-04 09:45:59 -0500 |
commit | f38fccb48c9acc2b7d55c1746c9e6dbde492cff5 (patch) | |
tree | c1704dc834dc78e1c47245f4864821c5fd28a581 | |
parent | a21f21efa19372e055e8f1daf2e77c52e5352ccc (diff) | |
download | podman-f38fccb48c9acc2b7d55c1746c9e6dbde492cff5.tar.gz podman-f38fccb48c9acc2b7d55c1746c9e6dbde492cff5.tar.bz2 podman-f38fccb48c9acc2b7d55c1746c9e6dbde492cff5.zip |
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>
-rw-r--r-- | libpod/lock/shm/shm_lock.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/lock/shm/shm_lock.go b/libpod/lock/shm/shm_lock.go index ff9b0ce2c..9a9074c04 100644 --- a/libpod/lock/shm/shm_lock.go +++ b/libpod/lock/shm/shm_lock.go @@ -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 |