mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-29 04:51:34 +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:
parent
9b98c26a80
commit
97d2ef2712
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user