mirror of
https://github.com/jimeh/redistat.git
synced 2026-02-19 05:16:39 +00:00
renamed hash_label option to label_hash
This commit is contained in:
@@ -30,7 +30,7 @@ module Redistat
|
||||
def to_s(depth = nil)
|
||||
depth ||= @options[:depth] if !@options[:depth].nil?
|
||||
key = "#{@scope}"
|
||||
key << "/" + ((@options[:hash_label].nil? || @options[:hash_label] == true) ? @label.hash : @label.name) if !label.nil?
|
||||
key << "/" + ((@options[:label_hash].nil? || @options[:label_hash] == true) ? @label.hash : @label.name) if !label.nil?
|
||||
key << ":#{@date.to_s(depth)}"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user