Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
V-FEXrt committed Aug 12, 2024
1 parent ab074c8 commit 605fd90
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions share/wake/lib/system/remote_cache_runner.wake
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,8 @@ export def mkRemoteCacheRunner (rscApi: RemoteCacheApi) (hashFn: Result RunnerIn
# If a match was found use it
require NoMatch = response
else
def hydrated = rehydrateJob response label input job

match hydrated
Pass _ -> hydrated
match (rehydrateJob response label input job)
Pass x -> Pass x
# If the job hydration fails for any reason just run the job as normal.
# There is no point in attempting to push since the server just said its cached
Fail _ -> baseDoIt job (Pass input)
Expand Down

0 comments on commit 605fd90

Please sign in to comment.