mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-23 13:14:14 +09:00
Simplifies parsing sha256 digits to decimals for the VPC peering feature. Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
4 lines
106 B
Smarty
4 lines
106 B
Smarty
{{- define "cozy-lib.strings.hexToInt" }}
|
|
{{- printf "num: 0x%s" . | fromYaml | dig "num" 0 }}
|
|
{{- end }}
|