Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
k8s-vcl-reloader
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-vcl-reloader
Commits
cb0cb7fa
Commit
cb0cb7fa
authored
Nov 20, 2019
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a 256 bit hash for DeepHash() (making collisions even less likely).
parent
7f2dfede
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
spec.go
pkg/varnish/vcl/spec.go
+1
-1
No files found.
pkg/varnish/vcl/spec.go
View file @
cb0cb7fa
...
...
@@ -105,7 +105,7 @@ type Spec struct {
// for equivalence by content, and are considered unchanged when only
// their metadata change.
func
(
spec
Spec
)
DeepHash
()
[]
byte
{
hash
:=
sha512
.
New512_2
24
()
hash
:=
sha512
.
New512_2
56
()
hash
.
Write
([]
byte
(
spec
.
Version
))
hash
.
Write
([]
byte
(
spec
.
Main
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment