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:
James O. D. Hunt 2018-03-19 19:20:02 +00:00
parent 9b98c26a80
commit 97d2ef2712

View File

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