Skip to content

Commit

Permalink
keep compatible constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
mcalmer committed Oct 21, 2024
1 parent 5cee689 commit b22fcf8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/java/com/suse/salt/netapi/calls/LocalCall.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ public LocalCall(String functionName, Optional<List<?>> arg,
this.executorOptions = executorOptions;
}

public LocalCall(String functionName, Optional<List<?>> arg,
Optional<Map<String, ?>> kwarg, TypeToken<R> returnType,
Optional<?> metadata, Optional<Integer> timeout,
Optional<Integer> gatherJobTimeout) {
this(functionName, arg, kwarg, returnType, metadata, timeout, gatherJobTimeout,
Optional.empty(), Optional.empty());
}

public LocalCall(String functionName, Optional<List<?>> arg,
Optional<Map<String, ?>> kwarg, TypeToken<R> returnType,
Optional<Integer> timeout, Optional<Integer> gatherJobTimeout) {
Expand Down

0 comments on commit b22fcf8

Please sign in to comment.