mirror of https://github.com/grpc/grpc-node.git
refactor: drop usage of _.get
This commit is contained in:
parent
fd082c642d
commit
b3a78f59de
|
@ -646,7 +646,7 @@ function getCall(channel, path, options) {
|
||||||
if (options) {
|
if (options) {
|
||||||
deadline = options.deadline;
|
deadline = options.deadline;
|
||||||
host = options.host;
|
host = options.host;
|
||||||
parent = _.get(options, 'parent.call');
|
parent = options.parent ? options.parent.call : undefined;
|
||||||
propagate_flags = options.propagate_flags;
|
propagate_flags = options.propagate_flags;
|
||||||
credentials = options.credentials;
|
credentials = options.credentials;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue