diff options
Diffstat (limited to 'resource')
-rw-r--r-- | resource/integrity/integrity.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resource/integrity/integrity.go b/resource/integrity/integrity.go index bbb214170..535c06a32 100644 --- a/resource/integrity/integrity.go +++ b/resource/integrity/integrity.go @@ -96,7 +96,7 @@ func (c *Client) Fingerprint(res resource.Resource, algo string) (resource.Resou func integrity(algo string, sum []byte) template.HTMLAttr { encoded := base64.StdEncoding.EncodeToString(sum) - return template.HTMLAttr(fmt.Sprintf("%s-%s", algo, encoded)) + return template.HTMLAttr(algo + "-" + encoded) } func digest(h hash.Hash) ([]byte, error) { |