mirror of
https://github.com/containers/podman.git
synced 2025-07-31 12:22:29 +08:00

First do not lint pkg/domain/infra/abi with the remote tag as this is only local code. Then mark the cacheLibImage field as unused, this should be an unused stub for the remote client so that we do not leak libimage. The linter sees that with the remote tag so we need to silence that warning. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
11 lines
267 B
Go
11 lines
267 B
Go
//go:build remote
|
|
// +build remote
|
|
|
|
package specgen
|
|
|
|
// Empty stub we do not use any libimage on the remote client,
|
|
// this drastically decreases binary size for the remote client.
|
|
//
|
|
//nolint:unused // this is needed for the local client
|
|
type cacheLibImage struct{}
|