Skip to content

Commit

Permalink
fix(core): naming issues
Browse files Browse the repository at this point in the history
Co-authored-by: alvaro <contact@alvarolorente.dev>
  • Loading branch information
alvarolorentedev committed Aug 24, 2024
1 parent 12267a0 commit 20b2432
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Empty file added README.md
Empty file.
2 changes: 1 addition & 1 deletion src/extensions/opsgenie/observer/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Opsgenie } from '.';
import { expect, describe, it, vi, beforeEach } from 'vitest';
import { faker } from '@faker-js/faker';
import { Status } from '../../../types/Status';
import { OpsgenieConfiguration } from '../../../types/OpsGenieConfiguration';
import { OpsgenieConfiguration } from '../../../types/OpsgenieConfiguration';

const configureMock = vi.fn();
const getAlertV2Mock = vi.fn();
Expand Down
4 changes: 2 additions & 2 deletions src/extensions/opsgenie/observer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Observer } from '../../../types/Observer';
import { State } from '../../../types/State';
import { Status } from '../../../types/Status';
import opsgenie from 'opsgenie-sdk';
import { OpsgenieConfiguration } from '../../../types/OpsGenieConfiguration';
import { OpsgenieConfiguration } from '../../../types/OpsgenieConfiguration';

const promisify =
(fun: any) =>
Expand All @@ -23,7 +23,7 @@ export class Opsgenie implements Observer {
});
this.host = host;
this.identifier = identifier;
this.alias = alias || `OpsGenie: ${host}/${identifier}`;
this.alias = alias || `Opsgenie: ${host}/${identifier}`;
}

public async getState(): Promise<State> {
Expand Down

0 comments on commit 20b2432

Please sign in to comment.