diff options
author | Vincent Ambo <tazjin@google.com> | 2019-10-02T17·00+0100 |
---|---|---|
committer | Vincent Ambo <github@tazj.in> | 2019-10-03T12·21+0100 |
commit | 1308a6e1fd8e5f9cbd0d6b5d872628ec234114d5 (patch) | |
tree | 74e965cb248451252c47e13934be15210040b214 /tools/nixery/server/builder/builder.go | |
parent | 0698d7f2aafc62c1ef6fca172668310727fdaef2 (diff) |
refactor(server): Clean up cache implementation
A couple of minor fixes and improvements to the cache implementation.
Diffstat (limited to 'tools/nixery/server/builder/builder.go')
-rw-r--r-- | tools/nixery/server/builder/builder.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/nixery/server/builder/builder.go b/tools/nixery/server/builder/builder.go index 87776735f9e7..d0650648fbcb 100644 --- a/tools/nixery/server/builder/builder.go +++ b/tools/nixery/server/builder/builder.go @@ -355,7 +355,7 @@ func uploadHashLayer(ctx context.Context, s *State, key string, data io.Reader) return nil, err } - cacheBuild(ctx, &s.Cache, s.Bucket, key, build) + cacheBuild(ctx, s, key, build) log.Printf("Uploaded layer sha256:%s (%v bytes written)", build.SHA256, size) |