Simplifies parsing sha256 digits to decimals for the VPC peering feature. Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
3 lines
106 B
Smarty
3 lines
106 B
Smarty
{{- define "cozy-lib.strings.hexToInt" }}
|
|
{{- printf "num: 0x%s" . | fromYaml | dig "num" 0 }}
|
|
{{- end }}
|