fix alignment for 32bit systems

Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Tibor Vass 2019-08-06 00:38:58 +00:00
Родитель 9461782956
Коммит d7e97b9abb
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -203,8 +203,8 @@ type ExponentialBackoffConfig struct {
// ExponentialBackoff implements random backoff with exponentially increasing
// bounds as the number consecutive failures increase.
type ExponentialBackoff struct {
failures uint64 // consecutive failure counter (needs to be 64-bit aligned)
config ExponentialBackoffConfig
failures uint64 // consecutive failure counter.
}
// NewExponentialBackoff returns an exponential backoff strategy with the