Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #3 from guruHub/master

Small fix on cut when parsing keys.
  • Loading branch information...
commit f4ca86c8edda3fb89fe7d730b7c8f34f0d741aa9 2 parents 269e5c4 + 5ccb87f
@perusio authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  nginx-cache-inspector
View
2  nginx-cache-inspector
@@ -58,7 +58,7 @@ function get_cache_files() {
## Print the cache item key.
## $1 - cache file.
function get_cache_item_key() {
- cat $1 | sed -n '/^KEY:/p' | cut -f 2 -d ':'
+ cat $1 | sed -n '/^KEY:/p' | cut -f 2- -d ':'
} # get_cache_item_key
## Get a cache item TTL.
Please sign in to comment.
Something went wrong with that request. Please try again.