Skip to content

Commit

Permalink
fix(JobInfo): remove handlerLanguage in CheckWithHandlers()
Browse files Browse the repository at this point in the history
  • Loading branch information
MingboPeng committed May 13, 2023
1 parent bbf258c commit 93cdcb1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/PollinationSDK/Wrapper/JobInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public JobInfo Duplicate()
return FromJson(this.ToJson());
}

private List<AnyOf<JobArgument, JobPathArgument>> CheckArgumentsWithHandlers(List<AnyOf<JobArgument, JobPathArgument>> args, string platform, string handlerLanguage, HandlerChecker handlerChecker)
private List<AnyOf<JobArgument, JobPathArgument>> CheckArgumentsWithHandlers(List<AnyOf<JobArgument, JobPathArgument>> args, string platform, HandlerChecker handlerChecker)
{
//Deal with single run
var inputs = this.Recipe.InputList;
Expand Down Expand Up @@ -155,12 +155,12 @@ public JobInfo Duplicate()

}

public void CheckArgumentsWithHandlers(string platform, string handlerLanguage)
public void CheckArgumentsWithHandlers(string platform)
{
CheckArgumentsWithHandlers(platform, handlerLanguage, DefaultHandlerChecker.Instance);
CheckArgumentsWithHandlers(platform, DefaultHandlerChecker.Instance);
}

public void CheckArgumentsWithHandlers(string platform, string handlerLanguage, HandlerChecker handlerChecker)
public void CheckArgumentsWithHandlers(string platform, HandlerChecker handlerChecker)
{
if(this.Recipe == null)
{
Expand All @@ -177,7 +177,7 @@ public void CheckArgumentsWithHandlers(string platform, string handlerLanguage,
var newArgSets = new List<List<AnyOf<JobArgument, JobPathArgument>>>();
foreach (var argSet in argSets)
{
var set = CheckArgumentsWithHandlers(argSet, platform, handlerLanguage, handlerChecker);
var set = CheckArgumentsWithHandlers(argSet, platform, handlerChecker);
newArgSets.Add(set);
}

Expand Down

0 comments on commit 93cdcb1

Please sign in to comment.