Skip to content

Commit

Permalink
Fix tracing options so that they appear in targetConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
ChadliaJerad committed Mar 12, 2023
1 parent b0e3a70 commit f377998
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ public void createLauncher(
} else {
launcher = FedLauncherFactory.getLauncher(
federates.get(0), // FIXME: This would not work for mixed-target programs.
targetConfig,
fileConfig,
errorReporter
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ public class FedLauncherFactory {

public static FedLauncher getLauncher (
FederateInstance federate,
TargetConfig targetConfig,
FedFileConfig fileConfig,
ErrorReporter errorReporter
) {
return getLauncher(Target.fromDecl(federate.target), federate.targetConfig, fileConfig, errorReporter);
return getLauncher(Target.fromDecl(federate.target), targetConfig, fileConfig, errorReporter);
}

/**
Expand Down

0 comments on commit f377998

Please sign in to comment.