Skip to content

Commit cdcbaec

Browse files
committed
fixing configure()
Signed-off-by: salaboy <Salaboy@gmail.com>
1 parent 8c468f5 commit cdcbaec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

testcontainers-dapr/src/main/java/io/dapr/testcontainers/WorkflowDashboardContainer.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,9 @@ protected void configure() {
6464
if (stateStoreComponent != null) {
6565
String componentYaml = COMPONENT_CONVERTER.convert(stateStoreComponent);
6666
withCopyToContainer(Transferable.of(componentYaml), "/app/components/" + stateStoreComponent.getName() + ".yaml");
67+
withEnv("COMPONENT_FILE", "/app/components/" + stateStoreComponent.getName() + ".yaml");
6768
}
6869

69-
withEnv("COMPONENT_FILE", "/app/components/" + stateStoreComponent.getName() + ".yaml");
70-
7170
}
7271

7372
public static DockerImageName getDefaultImageName() {

0 commit comments

Comments
 (0)