mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
atomic: patch 64bit alignment on 32bit systems
causes panic on armv7
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit af2e82d054
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
6ffb8e2b67
commit
776c2bd113
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue