From f18c2d278352f556b90ad9a52c33499665e16fa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mur=C3=A9?= Date: Mon, 1 Oct 2018 23:33:25 +0200 Subject: [PATCH] bug: make sure to invalidate the hash when changing an op's metadata --- bug/operation.go | 1 + 1 file changed, 1 insertion(+) diff --git a/bug/operation.go b/bug/operation.go index 08d44d0cc0f29118019ce6b806b24f7b6ef37950..f42a1192321e0e1b88c5ce8600934a114413b9c4 100644 --- a/bug/operation.go +++ b/bug/operation.go @@ -137,6 +137,7 @@ func (op *OpBase) SetMetadata(key string, value string) { } op.Metadata[key] = value + op.hash = "" } // GetMetadata retrieve arbitrary metadata about the operation