mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
builder: Pass cdi cache instead of CDISpecDirs
Instead of passing the dirs for buildkit to configure the same cache instance, just pass the shared CDI cache instance. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
@@ -86,6 +86,7 @@ import (
|
||||
"google.golang.org/grpc/backoff"
|
||||
"google.golang.org/grpc/credentials/insecure"
|
||||
"resenje.org/singleflight"
|
||||
"tags.cncf.io/container-device-interface/pkg/cdi"
|
||||
)
|
||||
|
||||
type configStore struct {
|
||||
@@ -149,6 +150,8 @@ type Daemon struct {
|
||||
mdDB *bolt.DB
|
||||
|
||||
usesSnapshotter bool
|
||||
|
||||
CDICache *cdi.Cache
|
||||
}
|
||||
|
||||
// ID returns the daemon id
|
||||
|
||||
Reference in New Issue
Block a user