linter cleanup (#344)

* go fmt
* static check
This commit is contained in:
Malte Poll 2022-08-05 15:30:23 +02:00 committed by GitHub
parent 32a990b4f2
commit bf5816cc00
7 changed files with 18 additions and 15 deletions

View file

@ -31,7 +31,8 @@ const (
// packageLock is needed to block concurrent use of package functions, since libcryptsetup is not thread safe.
// See: https://gitlab.com/cryptsetup/cryptsetup/-/issues/710
// https://stackoverflow.com/questions/30553386/cryptsetup-backend-safe-with-multithreading
//
// https://stackoverflow.com/questions/30553386/cryptsetup-backend-safe-with-multithreading
var packageLock = sync.Mutex{}
func init() {