mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 13:59:40 +02:00
fix(app): various persisted folder fixes [EE-6235] (#10963)
Co-authored-by: testa113 <testa113>
This commit is contained in:
parent
7a04d1d4ea
commit
95474b7dc5
9 changed files with 84 additions and 78 deletions
|
@ -34,7 +34,12 @@ export function replicationValidation(
|
|||
.test(
|
||||
'scalable',
|
||||
`The following storage option(s) do not support concurrent access from multiples instances: ${nonScalableStorage}. You will not be able to scale that application.`,
|
||||
() => !!supportScalableReplicaDeployment // must have support scalable replica deployment
|
||||
(value) => {
|
||||
if (!value || value <= 1) {
|
||||
return true;
|
||||
}
|
||||
return !!supportScalableReplicaDeployment;
|
||||
} // must have support scalable replica deployment
|
||||
)
|
||||
.required('Instance count is required.'),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue