Skip to content

Commit

Permalink
fix: Removed duplicate logger (#340)
Browse files Browse the repository at this point in the history
Co-authored-by: Trygve Lie <trygve.lie@finn.no>
  • Loading branch information
trygve-lie and Trygve Lie authored Oct 27, 2022
1 parent e09f6ad commit 808e160
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion lib/handlers/map.get.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const MapGet = class MapGet {
this._sink = sink;
this._etag = etag || config.etag;
this._log = abslog(logger);

this._metrics = new Metrics();
this._histogram = this._metrics.histogram({
name: 'eik_core_map_get_handler',
Expand Down
1 change: 0 additions & 1 deletion lib/handlers/map.put.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ const MapPut = class MapPut {
this._cacheControl = cacheControl;
this._sink = sink;
this._log = abslog(logger);
this._log = abslog(logger);
this._metrics = new Metrics();
this._histogram = this._metrics.histogram({
name: 'eik_core_map_put_handler',
Expand Down
1 change: 0 additions & 1 deletion lib/handlers/pkg.get.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const PkgGet = class PkgGet {
this._sink = sink;
this._etag = etag || config.etag;
this._log = abslog(logger);

this._metrics = new Metrics();
this._histogram = this._metrics.histogram({
name: 'eik_core_pkg_get_handler',
Expand Down
1 change: 0 additions & 1 deletion lib/handlers/versions.get.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const VersionsGet = class VersionsGet {
this._sink = sink;
this._etag = etag || config.etag;
this._log = abslog(logger);

this._metrics = new Metrics();
this._histogram = this._metrics.histogram({
name: 'eik_core_versions_get_handler',
Expand Down

0 comments on commit 808e160

Please sign in to comment.