Revert "Add option to cosume connect events rather than polling to restart deployments"

This reverts commit a5f4a7a0c1.
This commit is contained in:
jillianwilson
2021-10-27 11:54:04 -03:00
parent a8e6a4a4f1
commit 591b8949cd
773 changed files with 23988 additions and 107187 deletions

View File

@@ -26,8 +26,8 @@ var (
// NewMD5 and NewSHA1.
func NewHash(h hash.Hash, space UUID, data []byte, version int) UUID {
h.Reset()
h.Write(space[:]) //nolint:errcheck
h.Write(data) //nolint:errcheck
h.Write(space[:])
h.Write(data)
s := h.Sum(nil)
var uuid UUID
copy(uuid[:], s)