causes panic on armv7 Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> (cherry picked from commit af2e82d054a2276e5ff76fd3fb90915cad5a0a55) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@@ -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) {