Merge pull request #43814 from thaJeztah/22.06_backport_gofmt_119_2

[22.06 backport] fix formatting of "nolint" tags for go1.19
This commit is contained in:
Sebastiaan van Stijn 2022-07-18 09:47:27 +02:00 committed by GitHub
commit 1b928c1bd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 55 additions and 53 deletions

View file

@ -15,6 +15,7 @@ import (
)
// Same as DM_DEVICE_* enum values from libdevmapper.h
//
//nolint:deadcode,unused,varcheck
const (
deviceCreate TaskType = iota

View file

@ -21,6 +21,7 @@ const extName = "VolumeDriver"
// volumeDriver defines the available functions that volume plugins must implement.
// This interface is only defined to generate the proxy objects.
// It's not intended to be public or reused.
//
//nolint:deadcode,unused,varcheck
type volumeDriver interface {
// Create a volume with the given name