[19.03 backport] atomic: patch 64bit alignment on 32bit systems
@@ -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) {