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:
Jakob Naucke 2021-10-05 09:29:59 +00:00
parent 9668095abd
commit 8fafced9ff
No known key found for this signature in database
GPG Key ID: 45FA1C7D310C0EBE

View File

@ -184,7 +184,8 @@ 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
protection guestProtection //nolint:structcheck
nestedRun bool nestedRun bool
vhost bool vhost bool
disableNvdimm bool disableNvdimm bool