Skip to content

Commit

Permalink
atomic: patch 64bit alignment on 32bit systems
Browse files Browse the repository at this point in the history
causes panic on armv7

Signed-off-by: Tonis Tiigi <[email protected]>
  • Loading branch information
tonistiigi committed Jul 16, 2019
1 parent 5d04e0a commit af2e82d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/builder-next/adapters/containerimage/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -828,9 +828,9 @@ type resolverCache struct {
}

type cachedResolver struct {
counter int64 // needs to be 64bit aligned for 32bit systems
timeout time.Time
remotes.Resolver
counter int64
}

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

0 comments on commit af2e82d

Please sign in to comment.