backend: fix typo in MEET_AZURE_SUBCONTAINER_NAME
This commit is contained in:
parent
5aa83d9bfd
commit
f83c1ac2e4
@ -64,7 +64,7 @@ export const {
|
|||||||
|
|
||||||
//Azure Blob storage configuration
|
//Azure Blob storage configuration
|
||||||
MEET_AZURE_CONTAINER_NAME = 'openvidu-appdata',
|
MEET_AZURE_CONTAINER_NAME = 'openvidu-appdata',
|
||||||
MEET_AZURE_SUBCONATAINER_NAME = 'openvidu-meet',
|
MEET_AZURE_SUBCONTAINER_NAME = 'openvidu-meet',
|
||||||
MEET_AZURE_ACCOUNT_NAME = '',
|
MEET_AZURE_ACCOUNT_NAME = '',
|
||||||
MEET_AZURE_ACCOUNT_KEY = '',
|
MEET_AZURE_ACCOUNT_KEY = '',
|
||||||
|
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import {
|
|||||||
MEET_AZURE_ACCOUNT_KEY,
|
MEET_AZURE_ACCOUNT_KEY,
|
||||||
MEET_AZURE_ACCOUNT_NAME,
|
MEET_AZURE_ACCOUNT_NAME,
|
||||||
MEET_AZURE_CONTAINER_NAME,
|
MEET_AZURE_CONTAINER_NAME,
|
||||||
MEET_AZURE_SUBCONATAINER_NAME
|
MEET_AZURE_SUBCONTAINER_NAME
|
||||||
} from '../../../../environment.js';
|
} from '../../../../environment.js';
|
||||||
import { errorAzureNotAvailable, internalError } from '../../../../models/error.model.js';
|
import { errorAzureNotAvailable, internalError } from '../../../../models/error.model.js';
|
||||||
import { LoggerService } from '../../../index.js';
|
import { LoggerService } from '../../../index.js';
|
||||||
@ -279,7 +279,7 @@ export class ABSService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected getFullKey(name: string): string {
|
protected getFullKey(name: string): string {
|
||||||
const prefix = `${MEET_AZURE_SUBCONATAINER_NAME}`;
|
const prefix = `${MEET_AZURE_SUBCONTAINER_NAME}`;
|
||||||
|
|
||||||
if (name.startsWith(prefix)) {
|
if (name.startsWith(prefix)) {
|
||||||
return name;
|
return name;
|
||||||
@ -298,7 +298,9 @@ export class ABSService {
|
|||||||
const exists = await this.containerClient.exists();
|
const exists = await this.containerClient.exists();
|
||||||
|
|
||||||
if (exists) {
|
if (exists) {
|
||||||
this.logger.verbose(`ABS health check: service accessible and container '${MEET_AZURE_CONTAINER_NAME}' exists`);
|
this.logger.verbose(
|
||||||
|
`ABS health check: service accessible and container '${MEET_AZURE_CONTAINER_NAME}' exists`
|
||||||
|
);
|
||||||
return { accessible: true, containerExists: true };
|
return { accessible: true, containerExists: true };
|
||||||
} else {
|
} else {
|
||||||
this.logger.error(`ABS container '${MEET_AZURE_CONTAINER_NAME}' does not exist`);
|
this.logger.error(`ABS container '${MEET_AZURE_CONTAINER_NAME}' does not exist`);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user