lib/harness/adapters/librato_adapter.rb in harness-0.2.9 vs lib/harness/adapters/librato_adapter.rb in harness-0.2.10
- old
+ new
@@ -68,12 +68,14 @@
true
end
def self.sanitize(name)
if Harness.config.namespace
- "#{name}.#{Harness.config.namespace}"
+ key = "#{name}.#{Harness.config.namespace}"
else
- name
+ key = name
end
+
+ key.gsub('/', '')
end
end
end