Remove double interceptor setup

This commit is contained in:
juan.marchionatto 2021-07-07 13:33:33 -04:00
parent 41e1b4d45c
commit d83cf30a9e
1 changed files with 0 additions and 8 deletions

View File

@ -66,14 +66,6 @@ public abstract class BaseRequestGeneratingCommand extends BaseCommand {
} }
@Override
protected IGenericClient newClient(CommandLine theCommandLine) throws ParseException {
IGenericClient client = super.newClient(theCommandLine);
registerHeaderPassthrough(theCommandLine, client);
return client;
}
@Override @Override
protected IGenericClient newClientWithBaseUrl(CommandLine theCommandLine, String theBaseUrl, protected IGenericClient newClientWithBaseUrl(CommandLine theCommandLine, String theBaseUrl,
String theBasicAuthOptionName, String theBearerTokenOptionName) throws ParseException { String theBasicAuthOptionName, String theBearerTokenOptionName) throws ParseException {