Skip to content

Commit 5f6bb2d

Browse files
committed
fix
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
1 parent e60da73 commit 5f6bb2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/buildkit/buildkit_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func (s *mockControlServer) Solve(context.Context, *controlapi.SolveRequest) (*c
4949

5050
type mockLLBBridgeServer struct {
5151
gateway.LLBBridgeServer
52-
caps []caps.APICap
52+
caps []*caps.APICap
5353
}
5454

5555
func (m *mockLLBBridgeServer) Ping(context.Context, *gateway.PingRequest) (*gateway.PongResponse, error) {
@@ -63,7 +63,7 @@ func (m *mockLLBBridgeServer) Solve(context.Context, *gateway.SolveRequest) (*ga
6363
return &gateway.SolveResponse{}, nil
6464
}
6565

66-
func makeCapList(capIDs ...apicaps.CapID) []caps.APICap {
66+
func makeCapList(capIDs ...apicaps.CapID) []*caps.APICap {
6767
var (
6868
ls apicaps.CapList
6969
caps = make([]apicaps.Cap, 0, len(capIDs))

0 commit comments

Comments
 (0)