mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Remove some debug logging from 0.13-branch node
This commit is contained in:
parent
9d87453432
commit
9fcf98db86
@ -118,7 +118,6 @@ exports.createFromMetadataGenerator = function(metadata_generator) {
|
||||
exports.createFromGoogleCredential = function(google_credential) {
|
||||
return exports.createFromMetadataGenerator(function(auth_context, callback) {
|
||||
var service_url = auth_context.service_url;
|
||||
console.log('Service URL:', service_url);
|
||||
google_credential.getRequestMetadata(service_url, function(err, header) {
|
||||
if (err) {
|
||||
console.log('Auth error:', err);
|
||||
@ -127,7 +126,6 @@ exports.createFromGoogleCredential = function(google_credential) {
|
||||
}
|
||||
var metadata = new Metadata();
|
||||
metadata.add('authorization', header.Authorization);
|
||||
console.log(header.Authorization);
|
||||
callback(null, metadata);
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user