fixed a typo... ffs...

This commit is contained in:
2011-03-10 10:42:10 +00:00
parent 34331a655e
commit 8001a98a26
3 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ module Redistat
KEY_NEXT_ID = ".next_id"
KEY_EVENT = ".event:"
KEY_LEBELS = "Redistat.labels:" # used for reverse label hash lookup
KEY_LABELS = "Redistat.labels:" # used for reverse label hash lookup
KEY_EVENT_IDS = ".event_ids"
LABEL_INDEX = ".label_index:"
GROUP_SEPARATOR = "/"

View File

@@ -29,7 +29,7 @@ module Redistat
end
def save
@saved = db.hset(KEY_LEBELS, hash, self.to_s) if @options[:hashed_label]
@saved = db.hset(KEY_LABELS, hash, self.to_s) if @options[:hashed_label]
self
end