Skip to content

Commit

Permalink
HD-2760: bump httpagent and project version
Browse files Browse the repository at this point in the history
  • Loading branch information
williamlardier committed Dec 14, 2022
1 parent ef40af4 commit 2ff1cdd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"engines": {
"node": ">=16"
},
"version": "1.1.3",
"version": "1.1.4",
"description": "Hyperdrive appliance client library",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -37,7 +37,7 @@
"repository": "git://github.com/scality/hdclient.git ",
"author": "Maxime Lubin",
"dependencies": {
"httpagent": "github:scality/httpagent#1.0.2",
"httpagent": "github:scality/httpagent#1.0.5",
"werelogs": "github:scality/werelogs#8.1.2"
},
"devDependencies": {
Expand Down
3 changes: 1 addition & 2 deletions src/hdcontroller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ export class HDProxydClient {
this.bootstrap = shuffle(this.bootstrap);
this.path = '/store/';
this.setCurrentBootstrap(this.bootstrap[0]);
this.httpAgent = new httpAgent.Agent();

this.httpAgent = new httpAgent.Agent() as http.Agent;
this.setupLogging(options.logApi);
}

Expand Down

0 comments on commit 2ff1cdd

Please sign in to comment.