Skip to content

Commit 444e68f

Browse files
Rename community edition
1 parent 4a8bf83 commit 444e68f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

redisinsight/api/src/modules/database/entities/database.entity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export enum HostingProvider {
1616
REDIS_ENTERPRISE = 'REDIS_ENTERPRISE',
1717
AZURE_CACHE = 'AZURE_CACHE',
1818
AZURE_CACHE_REDIS_ENTERPRISE = 'AZURE_CACHE_REDIS_ENTERPRISE',
19-
COMMUNITY_EDITION = 'COMMUNITY_EDITION',
19+
REDIS_COMMUNITY_EDITION = 'REDIS_COMMUNITY_EDITION',
2020
AWS_ELASTICACHE = 'AWS_ELASTICACHE',
2121
AWS_MEMORYDB = 'AWS_MEMORYDB',
2222
VALKEY = 'VALKEY',

redisinsight/api/src/utils/hosting-provider-helper.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const getHostingProviderTests = [
3939
],
4040
info: '#Server\r\n'
4141
+ 'executable:/opt/redis/bin/redis-server',
42-
output: HostingProvider.COMMUNITY_EDITION,
42+
output: HostingProvider.REDIS_COMMUNITY_EDITION,
4343
},
4444
{
4545
input: 'localhost',

redisinsight/api/src/utils/hosting-provider-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export const getHostingProvider = async (client: RedisClient, databaseHost: stri
8585
}
8686

8787
if (info.includes('executable:/opt/redis/bin/redis-server')) {
88-
return HostingProvider.COMMUNITY_EDITION;
88+
return HostingProvider.REDIS_COMMUNITY_EDITION;
8989
}
9090

9191
if (info.includes('executable:/opt/redis-stack/bin/redis-server')) {

0 commit comments

Comments
 (0)