mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
fix(kube): patching stateful service [EE-6523] (#10948)
This commit is contained in:
parent
6d71a28584
commit
b3b7cfa77f
5 changed files with 35 additions and 10 deletions
|
@ -10,8 +10,8 @@ export function parseCpu(cpu: string) {
|
|||
return res;
|
||||
}
|
||||
|
||||
export function prepareAnnotations(annotations: Annotation[]) {
|
||||
const result = annotations.reduce(
|
||||
export function prepareAnnotations(annotations?: Annotation[]) {
|
||||
const result = annotations?.reduce(
|
||||
(acc, a) => {
|
||||
acc[a.Key] = a.Value;
|
||||
return acc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue