1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Description: aws/csm: Fix int64 alignment of metricChan on 386 and arm
TestMetricChanPush panics on 386 and arm due to an unaligned int64
in type metricChan struct.
Author: Anthony Fok <foka@debian.org>
Origin: vendor
Bug: https://github.com/aws/aws-sdk-go/issues/2784
Last-Update: 2019-08-26
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
diff --git a/aws/csm/metric_chan.go b/aws/csm/metric_chan.go
index 514fc373..48c24bc7 100644
--- a/aws/csm/metric_chan.go
+++ b/aws/csm/metric_chan.go
@@ -15,8 +15,8 @@ var (
)
type metricChan struct {
- ch chan metric
paused int64
+ ch chan metric
}
func newMetricChan(size int) metricChan {
|