1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #39543 from tonistiigi/64align

atomic: patch 64bit alignment on 32bit systems
This commit is contained in:
Tibor Vass 2019-07-16 22:34:21 -07:00 committed by GitHub
commit 880feeb3a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {