Skip to content

Commit

Permalink
fix logs for cache crates
Browse files Browse the repository at this point in the history
  • Loading branch information
mcorbin committed Oct 20, 2020
1 parent 96ead1c commit 9fd7d29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/meuse/api/mirror/cache.clj
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
(auth-request/check-admin-tech request)
(let [{:keys [crate-name crate-version]} (:route-params request)]
(log/infof (log/req-ctx request)
"mirror: caching crate crate %s version %s"
"mirror: caching crate %s version %s"
crate-name
crate-version)
(if (store/exists mirror-store crate-name crate-version)
(do
(log/infof (log/req-ctx request)
"mirror: crate %s %s already exists in the cache"
"mirror: crate %s %s already exists in the cache"
crate-name
crate-version)
{:status 200
Expand Down

0 comments on commit 9fd7d29

Please sign in to comment.