Skip to content

Commit

Permalink
fix part
Browse files Browse the repository at this point in the history
  • Loading branch information
paurosello committed Dec 4, 2024
1 parent 85dc52b commit e210d88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm/cluster-aws/templates/_awspartition.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Output: The AWS partition (e.g., "aws", "aws-cn")
*/ -}}
{{- define "extractAWSPartition" -}}
{{- $parts := (split ":" .) -}}
{{- if ge (len $parts) 5 -}}{{- $parts._2 -}}{{- end -}}
{{- if ge (len $parts) 5 -}}{{- $parts._1 -}}{{- end -}}
{{- end -}}

{{- define "aws-partition" -}}
Expand Down

0 comments on commit e210d88

Please sign in to comment.