mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-01 08:56:32 +00:00
lint: Annotate unused virtcontainers iota consts
Added magic tags for `gometalinter` to ignore two unused `const`s that form part of an `iota` sequence. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
@@ -68,13 +68,13 @@ const (
|
||||
netDev
|
||||
|
||||
// SerialDev is the serial device type.
|
||||
serialDev
|
||||
serialDev // nolint: varcheck,unused
|
||||
|
||||
// BlockDev is the block device type.
|
||||
blockDev
|
||||
|
||||
// ConsoleDev is the console device type.
|
||||
consoleDev
|
||||
consoleDev // nolint: varcheck,unused
|
||||
|
||||
// SerialPortDev is the serial port device type.
|
||||
serialPortDev
|
||||
|
Reference in New Issue
Block a user