Skip to content

Commit

Permalink
Make integer for priority optional
Browse files Browse the repository at this point in the history
  • Loading branch information
avarsava committed Feb 15, 2024
1 parent 4689f89 commit f0b81c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/fix_optional-priority.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Make priority resource optional
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public boolean remove(Object o) {

@Override
public Optional<Pair<String, BasicType>> inputFromSubmitter() {
return Optional.of(new Pair<String, BasicType>("priority", BasicType.INTEGER));
return Optional.of(new Pair<>("priority", BasicType.INTEGER.asOptional()));
}

@Override
Expand Down

0 comments on commit f0b81c3

Please sign in to comment.