commit | c10cbfb61af046e3cfabb7e85883a227d7e0c4a1 | [log] [tgz] |
---|---|---|
author | Jungho Ahn <pobby21@gmail.com> | Thu Nov 29 00:59:15 2018 -0800 |
committer | Jungho Ahn <pobby21@gmail.com> | Thu Nov 29 11:29:31 2018 -0800 |
tree | e1eb320d0c83db2a50b477685105bbd4864c46fe | |
parent | aed49bb00c2a0a49502c0748d2e1077d6fbde3c2 [diff] |
Fix missing reason param in ChangeRestoredEvent 'reason' param in ChangeRestoredEvent got accidentally dropped by Id429d8cd9e626d88c1f81954e6b37488896f9b90. This CL adds the 'reason' param back. Change-Id: I0dbd47ef3ab737b1be8bd2c4707dbf1a8f5b57cf
diff --git a/src/main/java/com/googlesource/gerrit/plugins/its/base/util/PropertyExtractor.java b/src/main/java/com/googlesource/gerrit/plugins/its/base/util/PropertyExtractor.java index e165baf..5d50662 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/its/base/util/PropertyExtractor.java +++ b/src/main/java/com/googlesource/gerrit/plugins/its/base/util/PropertyExtractor.java
@@ -103,6 +103,7 @@ private Map<String, Set<String>> extractFrom( ChangeRestoredEvent event, Map<String, String> common) { common.putAll(propertyAttributeExtractor.extractFrom(event.restorer.get(), "restorer")); + common.put("reason", event.reason); return extractMapFrom(event, common); }