Skip to content

Commit

Permalink
fix: semi-colon at eol
Browse files Browse the repository at this point in the history
Signed-off-by: Naseem <naseem@transit.app>
  • Loading branch information
Naseem committed Apr 3, 2020
1 parent af7a9a6 commit 6f01a16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/opentelemetry-exporter-jaeger/src/jaeger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class JaegerExporter implements SpanExporter {
this._onShutdownFlushTimeout =
typeof config.flushTimeout === 'number' ? config.flushTimeout : 2000;

config.host = config.host || process.env.JAEGER_AGENT_HOST
config.host = config.host || process.env.JAEGER_AGENT_HOST;

this._sender = new jaegerTypes.UDPSender(config);
if (this._sender._client instanceof Socket) {
Expand Down
4 changes: 2 additions & 2 deletions packages/opentelemetry-exporter-jaeger/test/jaeger.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('JaegerExporter', () => {
assert.ok(typeof exporter.shutdown === 'function');

const process: ThriftProcess = exporter['_sender']._process;
assert.strictEqual(exporter['_sender']._host, 'remotehost')
assert.strictEqual(exporter['_sender']._host, 'remotehost');
assert.strictEqual(process.serviceName, 'opentelemetry');
assert.strictEqual(process.tags.length, 1);
assert.strictEqual(process.tags[0].key, 'opentelemetry-exporter-jaeger');
Expand All @@ -59,7 +59,7 @@ describe('JaegerExporter', () => {
const exporter = new JaegerExporter({
serviceName: 'opentelemetry',
});
assert.strictEqual(exporter['_sender']._host, 'localhost')
assert.strictEqual(exporter['_sender']._host, 'localhost');
});

it('should construct an exporter with flushTimeout', () => {
Expand Down

0 comments on commit 6f01a16

Please sign in to comment.