Skip to content

Commit

Permalink
fixup post review
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Oct 11, 2024
1 parent 6a40200 commit 700b5d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/hdcontroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class HDProxydClient {
* creation and its sending.
*/
_handleRequest(method, stream, size, key, log, callback, params, payload) {
//tslint:disable-next-line:no-any
// tslint:disable-next-line:no-any
const headers = (params.headers ? params.headers : {});
const req = this._createRequestHeader(method, headers, key, params, log);
const host = this.getCurrentBootstrap();
Expand Down Expand Up @@ -374,7 +374,7 @@ class HDProxydClient {
hostname: currentBootstrap[0],
port: currentBootstrap[1],
method: 'GET',
path: '/metrics', // XXX
path: '/metrics',
headers: {
'X-Scal-Request-Uids': logger.getSerializedUids(),
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build": "tsc --strict ",
"coverage": "nyc --check-coverage --exclude 'tests/*' --lines=90 --reporter=text --reporter=html --reporter=lcov npm test tests/",
"jsdoc": "jsdoc src/ tests/ -d docs/jsdoc",
"lint": "eslint $(git ls-files '*.ts')",
"lint": "eslint $(git ls-files '*.ts' '*.js')",
"test": "mocha --require ts-node/register --use_strict --check-leaks --recursive tests/**/*.ts",
"get-version": "echo $npm_package_version"
},
Expand Down

0 comments on commit 700b5d4

Please sign in to comment.