mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-15 00:15:17 +00:00
Merge pull request #4543 from linkthai/fix/mongo-replicaSets-false-after-update
FIX: replicaSets default to false after updating mongo due to default
(cherry picked from commit 2bda2ccc04)
[skip ci]
This commit is contained in:
committed by
Dokploy Bot
parent
739fd08372
commit
07f95a034f
@@ -196,6 +196,7 @@ export const apiUpdateMongo = createSchema
|
|||||||
.extend({
|
.extend({
|
||||||
mongoId: z.string().min(1),
|
mongoId: z.string().min(1),
|
||||||
dockerImage: z.string().optional(),
|
dockerImage: z.string().optional(),
|
||||||
|
replicaSets: z.boolean().optional(),
|
||||||
})
|
})
|
||||||
.omit({ serverId: true });
|
.omit({ serverId: true });
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user