From 9e8efc7dea008cf8cc779fee1766c7259b1d281e Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sun, 4 Nov 2018 15:37:55 +0100 Subject: [PATCH] fix(core): update --- test/test.ts | 2 +- ts/logdna.classes.logmessage.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.ts b/test/test.ts index 47738f4..0f5e061 100644 --- a/test/test.ts +++ b/test/test.ts @@ -22,7 +22,7 @@ tap.test('should create a standard log message', async () => { containerName: 'ci-mojoio-logdna', environment: 'test', runtime: 'node', - zone: 'ship.zone' + zone: 'shipzone' }, message: 'this is an awesome log message :)' }); diff --git a/ts/logdna.classes.logmessage.ts b/ts/logdna.classes.logmessage.ts index e292ee3..303ce3c 100644 --- a/ts/logdna.classes.logmessage.ts +++ b/ts/logdna.classes.logmessage.ts @@ -70,7 +70,7 @@ export class LogdnaMessage { env: smartlogPackageArg.context.environment, hostname: smartlogPackageArg.context.zone, level: smartlogPackageArg.level, - app: smartlogPackageArg.context.zone, + app: smartlogPackageArg.context.containerName, tags: (() => { const tagArray: string[] = []; tagArray.push(smartlogPackageArg.context.company);