You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2022/11/18 14:27:36 UTC
[whimsy] branch master updated: Better name
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 384a0e58 Better name
384a0e58 is described below
commit 384a0e587586687e5028b4f671d20138671ecebb
Author: Sebb <se...@apache.org>
AuthorDate: Fri Nov 18 14:27:31 2022 +0000
Better name
---
lib/whimsy/cache.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/whimsy/cache.rb b/lib/whimsy/cache.rb
index a560b203..cab0f0c1 100644
--- a/lib/whimsy/cache.rb
+++ b/lib/whimsy/cache.rb
@@ -79,7 +79,7 @@ class Cache
uri, res = fetch(url)
if res.is_a?(Net::HTTPSuccess)
write_cache(url, res)
- return uri, res.body, data ? 'no last mod/etag' : 'missing'
+ return uri, res.body, data ? 'no last mod/etag' : 'cachemiss'
else
return nil, res, 'error'
end