Merge pull request #363 from thaJeztah/19.03_backport_64align

[19.03 backport] atomic: patch 64bit alignment on 32bit systems
This commit is contained in:
Kirill Kolyshkin 2019-09-18 11:30:26 +03:00 committed by GitHub
commit 2b10608f16
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) {