Skip to content

Commit e2401a7

Browse files
committed
Merge branch 'master' into java-7
2 parents 4394a31 + 52f8996 commit e2401a7

File tree

3 files changed

+17
-27
lines changed

3 files changed

+17
-27
lines changed

pom.xml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,6 @@
8181
</dependency>
8282

8383

84-
<dependency>
85-
<groupId>ch.qos.logback</groupId>
86-
<artifactId>logback-core</artifactId>
87-
<version>${version.logback}</version>
88-
</dependency>
89-
<dependency>
90-
<groupId>ch.qos.logback</groupId>
91-
<artifactId>logback-classic</artifactId>
92-
<version>${version.logback}</version>
93-
</dependency>
9484
<dependency>
9585
<groupId>org.slf4j</groupId>
9686
<artifactId>slf4j-api</artifactId>
@@ -106,6 +96,20 @@
10696

10797

10898
<!-- /// Test /////////////////////////// -->
99+
<dependency>
100+
<groupId>ch.qos.logback</groupId>
101+
<artifactId>logback-core</artifactId>
102+
<version>${version.logback}</version>
103+
<scope>test</scope>
104+
</dependency>
105+
106+
<dependency>
107+
<groupId>ch.qos.logback</groupId>
108+
<artifactId>logback-classic</artifactId>
109+
<version>${version.logback}</version>
110+
<scope>test</scope>
111+
</dependency>
112+
109113
<dependency>
110114
<groupId>org.testng</groupId>
111115
<artifactId>testng</artifactId>
@@ -140,7 +144,6 @@
140144
<scope>test</scope>
141145
</dependency>
142146

143-
144147
</dependencies>
145148

146149

src/main/java/com/kpelykh/docker/client/model/ContainerConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class ContainerConfig {
2525
@JsonProperty("AttachStdin") private boolean attachStdin;
2626
@JsonProperty("AttachStdout") private boolean attachStdout;
2727
@JsonProperty("AttachStderr") private boolean attachStderr;
28-
@JsonProperty("Env") private Map<String, String> env;
28+
@JsonProperty("Env") private String[] env;
2929
@JsonProperty("Cmd") private String[] cmd;
3030
@JsonProperty("Dns") private String[] dns;
3131
@JsonProperty("Image") private String image;
@@ -130,11 +130,11 @@ public void setAttachStderr(boolean attachStderr) {
130130
this.attachStderr = attachStderr;
131131
}
132132

133-
public Map<String, String> getEnv() {
133+
public String[] getEnv() {
134134
return env;
135135
}
136136

137-
public void setEnv(Map<String, String> env) {
137+
public void setEnv(String[] env) {
138138
this.env = env;
139139
}
140140

src/main/resources/logback.xml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)