From f38fccb48c9acc2b7d55c1746c9e6dbde492cff5 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Wed, 8 Aug 2018 16:38:38 -0400 Subject: 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 --- libpod/lock/shm/shm_lock.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpod/lock') 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 -- cgit v1.2.3-54-g00ecf