Skip to content

Commit b148d86

Browse files
committed
fix limit of resources in quota
Signed-off-by: IvanHunters <[email protected]>
1 parent b161635 commit b148d86

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎packages/library/cozy-lib/templates/_resources.tpl‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,6 @@
9595
{{- end }}
9696
{{- range $k, $v := $args }}
9797
{{- if eq $k "cpu" }}
98-
{{- $vcpuRequestF64 := (include "cozy-lib.resources.toFloat" $v) | float64 }}
99-
{{- $cpuRequestF64 := divf $vcpuRequestF64 $cpuAllocationRatio }}
100-
{{- $_ := set $output.requests $k ($cpuRequestF64 | toString) }}
10198
{{- $_ := set $output.limits $k ($v | toString) }}
10299
{{- else if eq $k "memory" }}
103100
{{- $vMemoryRequestF64 := (include "cozy-lib.resources.toFloat" $v) | float64 }}

0 commit comments

Comments
 (0)