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

Commit

Permalink
change trimSuffix from 6 to 12 (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsalokin authored Aug 20, 2024
1 parent bb882c6 commit 9f46f0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 9f46f0d

Please sign in to comment.