1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #43804 from thaJeztah/gofmt_119_2

This commit is contained in:
Samuel Karp 2022-07-14 21:29:07 -07:00 committed by GitHub
commit 0136a7c1bb
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 // 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

View file

@ -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