Fix BDC auth (#16053)

This commit is contained in:
Charles Gagnon
2021-07-09 11:56:54 -07:00
committed by GitHub
parent 27823e9900
commit 0045193262
4 changed files with 7 additions and 19 deletions

View File

@@ -961,7 +961,7 @@ export class WebHDFS {
this.unlink(path, recursive, callback);
}
public static createClient(opts: IHdfsOptions, requestParams: IRequestParams): WebHDFS {
public static createClient(opts: IHdfsOptions): WebHDFS {
return new WebHDFS(
Object.assign(
{
@@ -971,7 +971,7 @@ export class WebHDFS {
},
opts || {}
),
requestParams
opts.requestParams ?? { }
);
}
}