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