Skip to content

Commit

Permalink
Merge pull request #208 from qoomon/patch-3
Browse files Browse the repository at this point in the history
fix: fix withEnv(Map) to add to instance variable
  • Loading branch information
rnorth committed Aug 22, 2016
2 parents 45fa877 + e53b0e2 commit 1e83587
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public SELF withEnv(String key, String value) {
}

public SELF withEnv(Map<String, String> env) {
env.forEach(env::put);
env.forEach(this.env::put);
return self();
}

Expand Down Expand Up @@ -305,4 +305,4 @@ public void start() {
}
logger().info("Docker compose has finished running");
}
}
}

0 comments on commit 1e83587

Please sign in to comment.