mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 04:04:45 +00:00
virtcontainers: nolint guestProtection
Exclude from lint checking for it is ultimately only used in architecture-specific code. Fixes: #2273 Signed-off-by: Jakob Naucke <jakob.naucke@ibm.com>
This commit is contained in:
parent
5c138c8f12
commit
ff9728f032
@ -183,11 +183,12 @@ type qemuArchBase struct {
|
|||||||
Bridges []types.Bridge
|
Bridges []types.Bridge
|
||||||
memoryOffset uint64
|
memoryOffset uint64
|
||||||
networkIndex int
|
networkIndex int
|
||||||
protection guestProtection
|
// Exclude from lint checking for it is ultimately only used in architecture-specific code
|
||||||
nestedRun bool
|
protection guestProtection //nolint:structcheck
|
||||||
vhost bool
|
nestedRun bool
|
||||||
disableNvdimm bool
|
vhost bool
|
||||||
dax bool
|
disableNvdimm bool
|
||||||
|
dax bool
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
Loading…
Reference in New Issue
Block a user