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

Commit 6a93657

Browse files
tonistiigithaJeztah
authored andcommitted
atomic: patch 64bit alignment on 32bit systems
causes panic on armv7 Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> (cherry picked from commit af2e82d054a2276e5ff76fd3fb90915cad5a0a55) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 776c2bd1137e00b97b4913226f92db2c293012fa Component: engine
1 parent a5906db commit 6a93657

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)