mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-17 13:17:55 +00:00
The common v0.57.7 vendor bump added !remote build tags to libimage,
causing podman-remote builds to fail. This change splits files that
use libimage into separate _local and _remote variants:
- pkg/specgen/specgen_{local,remote}.go: Image field storage and methods
- pkg/api/handlers/types_local.go: ImageDataToImageInspect function
- cmd/podman/utils/error_local.go: ExitCodeFromBuildError function
This allows type definitions to be shared between remote and local
builds while keeping libimage-dependent implementations local-only.
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
9 lines
250 B
Go
9 lines
250 B
Go
//go: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{}
|