diff options
| author | Tonis Tiigi <tonistiigi@gmail.com> | 2018-05-23 15:53:14 -0700 |
|---|---|---|
| committer | Tonis Tiigi <tonistiigi@gmail.com> | 2018-06-10 10:05:29 -0700 |
| commit | 157b0b30dbf2f5af5c5b121bee60c1951af71fb5 (patch) | |
| tree | 55811c7c9869b995d0d49ea48cbfb388a8d1c1d2 /api/server/backend | |
| parent | 1f09adbe163f008e36dffa45c8f4b43605d7426e (diff) | |
| download | docker-157b0b30dbf2f5af5c5b121bee60c1951af71fb5.tar.gz | |
builder: lint fixes
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Diffstat (limited to 'api/server/backend')
| -rw-r--r-- | api/server/backend/build/backend.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/server/backend/build/backend.go b/api/server/backend/build/backend.go index 043c9e84b7..904944a962 100644 --- a/api/server/backend/build/backend.go +++ b/api/server/backend/build/backend.go @@ -118,6 +118,7 @@ func (b *Backend) PruneCache(ctx context.Context) (*types.BuildCachePruneReport, return &types.BuildCachePruneReport{SpaceReclaimed: fsCacheSize + uint64(buildCacheSize)}, nil } +// Cancel cancels the build by ID func (b *Backend) Cancel(ctx context.Context, id string) error { return b.buildkit.Cancel(ctx, id) } |
