Skip to content

Commit

Permalink
Formatting and fix visibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh committed Jan 6, 2024
1 parent d345b22 commit 7425ddd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@ private Map<Path, CodeMap> compileFederates(
subFileConfig.resource, GeneratorArguments.none(), subContextMessageReporter);

if (targetConfig.get(DockerProperty.INSTANCE).enabled()
&& targetConfig.target.buildsUsingDocker() || fed.isRemote) {
&& targetConfig.target.buildsUsingDocker()
|| fed.isRemote) {
NoCompileProperty.INSTANCE.override(subConfig, true);
}
// Disabled Docker for the federate and put federation in charge.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public class DockerComposeGenerator {
/** Path to the docker-compose.yml file. */
protected final Path path;

/** Context of the code generator. */
protected final LFGeneratorContext context;

public DockerComposeGenerator(LFGeneratorContext context) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package org.lflang.generator.docker;

import java.util.List;
import org.lflang.target.property.TracingProperty;
import org.lflang.generator.LFGeneratorContext;
import org.lflang.target.property.DockerProperty;
import org.lflang.target.property.DockerProperty.DockerOptions;
import org.lflang.target.property.TracingProperty;

/**
* A docker-compose configuration generator for a federated program.
Expand Down

0 comments on commit 7425ddd

Please sign in to comment.