fix(xo-server/collection/redis): ignore undefined values (#3388)
Fixes #3385
This commit is contained in:
committed by
Pierre Donias
parent
395cbb33ef
commit
070213dd7f
@@ -17,7 +17,7 @@
|
||||
- [New XOSAN] Fix error sometimes occurring when selecting the pool (PR [#3370](https://github.com/vatesfr/xen-orchestra/pull/3370))
|
||||
- [New VM] Selecting multiple VMs and clicking Create then Cancel used to redirect to Home [#3268](https://github.com/vatesfr/xen-orchestra/issues/3268) (PR [#3371](https://github.com/vatesfr/xen-orchestra/pull/3371))
|
||||
- [Remotes] `cannot read 'properties' of undefined` error (PR [#3382](https://github.com/vatesfr/xen-orchestra/pull/3382))
|
||||
|
||||
- [Servers] Various issues when adding a new server [#3385](https://github.com/vatesfr/xen-orchestra/issues/3385) (PR [#3388](https://github.com/vatesfr/xen-orchestra/pull/3388))
|
||||
|
||||
### Released packages
|
||||
|
||||
|
||||
@@ -161,7 +161,9 @@ export default class Redis extends Collection {
|
||||
return
|
||||
}
|
||||
|
||||
params.push(name, value)
|
||||
if (value !== undefined) {
|
||||
params.push(name, value)
|
||||
}
|
||||
})
|
||||
|
||||
const key = `${prefix}:${id}`
|
||||
|
||||
Reference in New Issue
Block a user