Skip to content

Commit 52abf31

Browse files
committed
chore: fixes
1 parent d0347a0 commit 52abf31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/opentelemetry-exporter/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class InstanaExporter {
9696
instanaEnvironment.validate();
9797

9898
if (instanaEnvironment.isValid()) {
99-
instanaBackendConnector.init({ logger, stopSendingOnFailure: false, propagateErrorsUpstream: true });
99+
instanaBackendConnector.init({ config: { logger }, stopSendingOnFailure: false, propagateErrorsUpstream: true });
100100
this._isShutdown = false;
101101
}
102102
}

packages/serverless/test/backend_connector_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ describe('[UNIT] backend connector', () => {
8989
it('when lambda extension is used & heartbeat is working, but timeout when talking to extension', async () => {
9090
expect(global.clearInterval.called).to.be.false;
9191

92-
backendConnector.init({ config, useLambdaExtension: true });
92+
backendConnector.init({ config, stopSendingOnFailure: false, useLambdaExtension: true });
9393

9494
expect(uninstrumentedHttp.http.request.called).to.be.true;
9595
expect(uninstrumentedHttp.http.request.callCount).to.eql(1);

0 commit comments

Comments
 (0)