Skip to content

Commit

Permalink
Fix up broken action xml parsing (#1031)
Browse files Browse the repository at this point in the history
Signed-off-by: Pablete1234 <[email protected]>
  • Loading branch information
Pablete1234 authored Jul 10, 2022
1 parent e9a2d1d commit f90dd7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/tc/oc/pgm/action/ActionParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private <T extends Filterable<?>> Class<T> parseFilterable(Node node) throws Inv
}
}

@MethodParser("trigger")
@MethodParser("action")
public <B extends Filterable<?>> ActionDefinition<? super B> parseDefinition(
Element el, Class<B> bound) throws InvalidXMLException {
if (bound == null) bound = parseFilterable(Node.fromRequiredAttr(el, "scope"));
Expand Down

0 comments on commit f90dd7a

Please sign in to comment.