Merge pull request #2324 from tonistiigi/64bit-align-buildcount

control: fix 64bit alignment for buildcount
master
Tõnis Tiigi 2021-08-20 12:16:44 -07:00 committed by GitHub
commit 99368b8ecc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -45,8 +45,7 @@ type Opt struct {
}
type Controller struct { // TODO: ControlService
*tracev1.UnimplementedTraceServiceServer
// buildCount needs to be 64bit aligned
buildCount int64
opt Opt
solver *llbsolver.Solver
@ -54,6 +53,7 @@ type Controller struct { // TODO: ControlService
gatewayForwarder *controlgateway.GatewayForwarder
throttledGC func()
gcmu sync.Mutex
*tracev1.UnimplementedTraceServiceServer
}
func NewController(opt Opt) (*Controller, error) {