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:
commit
1b928c1bd5
15 changed files with 55 additions and 53 deletions
|
@ -15,6 +15,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// Same as DM_DEVICE_* enum values from libdevmapper.h
|
// Same as DM_DEVICE_* enum values from libdevmapper.h
|
||||||
|
//
|
||||||
//nolint:deadcode,unused,varcheck
|
//nolint:deadcode,unused,varcheck
|
||||||
const (
|
const (
|
||||||
deviceCreate TaskType = iota
|
deviceCreate TaskType = iota
|
||||||
|
|
|
@ -21,6 +21,7 @@ const extName = "VolumeDriver"
|
||||||
// volumeDriver defines the available functions that volume plugins must implement.
|
// volumeDriver defines the available functions that volume plugins must implement.
|
||||||
// This interface is only defined to generate the proxy objects.
|
// This interface is only defined to generate the proxy objects.
|
||||||
// It's not intended to be public or reused.
|
// It's not intended to be public or reused.
|
||||||
|
//
|
||||||
//nolint:deadcode,unused,varcheck
|
//nolint:deadcode,unused,varcheck
|
||||||
type volumeDriver interface {
|
type volumeDriver interface {
|
||||||
// Create a volume with the given name
|
// Create a volume with the given name
|
||||||
|
|
Loading…
Reference in a new issue