Skip to content

Commit

Permalink
Fix incorrect error message
Browse files Browse the repository at this point in the history
  • Loading branch information
skrzypo987 authored and findepi committed Sep 19, 2022
1 parent d40b68c commit 22dd82d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -379,7 +379,7 @@ public String getEnvironmentName()

public Builder containerDependsOn(String container, String dependencyContainer)
{
checkState(containers.containsKey(container), "Container with name %s is not registered", name);
checkState(containers.containsKey(container), "Container with name %s is not registered", container);
checkState(containers.containsKey(dependencyContainer), "Dependency container with name %s is not registered", dependencyContainer);
containers.get(container).dependsOn(containers.get(dependencyContainer));

Expand Down

0 comments on commit 22dd82d

Please sign in to comment.