lib/harness/adapters/librato_adapter.rb in harness-0.2.2 vs lib/harness/adapters/librato_adapter.rb in harness-0.2.3
- old
+ new
@@ -60,9 +60,9 @@
true
end
def self.sanitize(name)
- "#{name}#{Harness.config.namespace}".gsub(/\./, '-')
+ "#{name}#{Harness.config.namespace}".gsub(/\./, '-').gsub(/^!/, 'bang_')
end
end
end