mirror of
https://github.com/moby/buildkit.git
synced 2026-08-06 07:40:49 +00:00
correct int64 alignment
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
@@ -38,13 +38,13 @@ type Opt struct {
|
||||
}
|
||||
|
||||
type Controller struct { // TODO: ControlService
|
||||
buildCount int64
|
||||
opt Opt
|
||||
solver *llbsolver.Solver
|
||||
cache solver.CacheManager
|
||||
gatewayForwarder *controlgateway.GatewayForwarder
|
||||
throttledGC func()
|
||||
gcmu sync.Mutex
|
||||
buildCount int64
|
||||
}
|
||||
|
||||
func NewController(opt Opt) (*Controller, error) {
|
||||
|
||||
@@ -40,9 +40,9 @@ func dup(res Result) (Result, Result) {
|
||||
}
|
||||
|
||||
type splitResult struct {
|
||||
Result
|
||||
released int64
|
||||
sem *int64
|
||||
Result
|
||||
}
|
||||
|
||||
func (r *splitResult) Release(ctx context.Context) error {
|
||||
|
||||
@@ -135,9 +135,9 @@ type resolverCache struct {
|
||||
}
|
||||
|
||||
type cachedResolver struct {
|
||||
counter int64
|
||||
timeout time.Time
|
||||
remotes.Resolver
|
||||
counter int64
|
||||
}
|
||||
|
||||
func (cr *cachedResolver) Resolve(ctx context.Context, ref string) (name string, desc ocispec.Descriptor, err error) {
|
||||
|
||||
Reference in New Issue
Block a user