Skip to content

Commit 076e2a1

Browse files
author
Artem
committed
#RI-4020 import sentinel databases from v1
1 parent df7b529 commit 076e2a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/api/src/modules/database-import/database-import.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export class DatabaseImportService {
168168
if (data?.sentinelMasterName) {
169169
data.sentinelMaster = {
170170
name: data.sentinelMasterName,
171-
username: data.sentinelMasterUsername,
171+
username: data.sentinelMasterUsername || undefined,
172172
password: data.sentinelMasterPassword,
173173
};
174174
data.nodes = [{

0 commit comments

Comments
 (0)