Skip to content

Commit d0a0d94

Browse files
committed
fix 64 align issue on 32 bit arch (rm)
Signed-off-by: Markus Blaschke <mblaschke82@gmail.com>
1 parent dc1ba78 commit d0a0d94

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

azure-devops-client/main.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ import (
88
)
99

1010
type AzureDevopsClient struct {
11+
// RequestCount has to be the first words
12+
// in order to be 64-aligned on 32-bit architectures.
13+
RequestCount uint64
14+
RequestRetries int
15+
1116
organization *string
1217
collection *string
1318
accessToken *string
@@ -22,9 +27,6 @@ type AzureDevopsClient struct {
2227
semaphore chan bool
2328
concurrency int64
2429

25-
RequestCount uint64
26-
RequestRetries int
27-
2830
LimitProject int64
2931
LimitBuildsPerProject int64
3032
LimitBuildsPerDefinition int64

0 commit comments

Comments
 (0)