Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 190ac56

Browse files
authored
Merge pull request #363 from thaJeztah/19.03_backport_64align
[19.03 backport] atomic: patch 64bit alignment on 32bit systems Upstream-commit: 2b10608f16e22670cb03c634dc9acadc6992d3a9 Component: engine
2 parents 47d9541 + 6a93657 commit 190ac56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • components/engine/builder/builder-next/adapters/containerimage

components/engine/builder/builder-next/adapters/containerimage/pull.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,9 +828,9 @@ type resolverCache struct {
828828
}
829829

830830
type cachedResolver struct {
831+
counter int64 // needs to be 64bit aligned for 32bit systems
831832
timeout time.Time
832833
remotes.Resolver
833-
counter int64
834834
}
835835

836836
func (cr *cachedResolver) Resolve(ctx context.Context, ref string) (name string, desc ocispec.Descriptor, err error) {

0 commit comments

Comments
 (0)