mirror of
https://github.com/jimeh/redistat.git
synced 2026-02-19 13:26:39 +00:00
bit cleaner code
This commit is contained in:
@@ -11,8 +11,7 @@ module Redistat
|
||||
end
|
||||
|
||||
def save
|
||||
db.set("Redistat:lables:#{@hash}", @name)
|
||||
@saved = true
|
||||
@saved = (db.set("Redistat:lables:#{@hash}", @name) == "OK")
|
||||
self
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user