Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

change trimSuffix from 6 to 12 #30

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/testops/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: testops
version: 5.8.0
version: 5.8.1
appVersion: 5.8.1

description: TestOps
Expand Down
2 changes: 1 addition & 1 deletion charts/testops/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@
{{- $xmx = mul $xms 3 }}
{{- end }}
{{- end }}
{{- if gt ($v | trimSuffix "Gi" | atoi ) 6 }}
{{- if gt ($v | trimSuffix "Gi" | atoi ) 12 }}
{{- printf "-XX:+UseG1GC -XX:+UseStringDeduplication -Xms%d%s -Xmx%d%s" $xms $unit $xmx $unit }}
{{- else }}
{{- printf "-XX:+UseParallelGC -Xms%d%s -Xmx%d%s" $xms $unit $xmx $unit }}
Expand Down
Loading