From 7dbac5a565bf6903ad9b33a5ef8b97d6b13303f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Mon, 7 Oct 2019 10:01:18 +0200 Subject: [PATCH] Rename profiler_proxy -> profiler-proxy --- lib/api/middlewares/stats.js | 2 +- lib/stats/{profiler_proxy.js => profiler-proxy.js} | 0 test/integration/profiler.js | 2 +- test/unit/cartodb/ported/profiler.test.js | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename lib/stats/{profiler_proxy.js => profiler-proxy.js} (100%) diff --git a/lib/api/middlewares/stats.js b/lib/api/middlewares/stats.js index 51dbdf53..24facbcf 100644 --- a/lib/api/middlewares/stats.js +++ b/lib/api/middlewares/stats.js @@ -1,6 +1,6 @@ 'use strict'; -const Profiler = require('../../stats/profiler_proxy'); +const Profiler = require('../../stats/profiler-proxy'); const debug = require('debug')('windshaft:cartodb:stats'); const onHeaders = require('on-headers'); diff --git a/lib/stats/profiler_proxy.js b/lib/stats/profiler-proxy.js similarity index 100% rename from lib/stats/profiler_proxy.js rename to lib/stats/profiler-proxy.js diff --git a/test/integration/profiler.js b/test/integration/profiler.js index a4f81857..d27c4827 100644 --- a/test/integration/profiler.js +++ b/test/integration/profiler.js @@ -4,7 +4,7 @@ require('../support/test_helper'); var assert = require('assert'); var StatsClient = require('../../lib/stats/client'); -var ProfilerProxy = require('../../lib/stats/profiler_proxy'); +var ProfilerProxy = require('../../lib/stats/profiler-proxy'); describe('profiler + statsd', function() { var statsInstance; diff --git a/test/unit/cartodb/ported/profiler.test.js b/test/unit/cartodb/ported/profiler.test.js index 45c3e05f..e33163d2 100644 --- a/test/unit/cartodb/ported/profiler.test.js +++ b/test/unit/cartodb/ported/profiler.test.js @@ -3,7 +3,7 @@ require('../../../support/test_helper'); var assert = require('assert'); -var ProfilerProxy = require('../../../../lib/stats/profiler_proxy'); +var ProfilerProxy = require('../../../../lib/stats/profiler-proxy'); describe('profiler', function() {