File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
main/java/com/amihaiemil/docker
test/java/com/amihaiemil/docker Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ public String minApiVersion() {
113
113
* @return Name of the OS docker is running on
114
114
*/
115
115
@ Override
116
- public String os () {
116
+ public String osName () {
117
117
return this .getString ("Os" );
118
118
}
119
119
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public interface Version extends JsonObject {
36
36
* Returns the OS docker is running on.
37
37
* @return Name of the OS docker is running on
38
38
*/
39
- String os ();
39
+ String osName ();
40
40
41
41
/**
42
42
* Returns the (CPU) architecture docker is running on.
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public final void queryDockerVersion() throws IOException {
51
51
assertEquals ("Docker Engine - Community" , version .platformName ());
52
52
assertEquals ("1.40" , version .apiVersion ());
53
53
assertEquals ("1.12" , version .minApiVersion ());
54
- assertEquals ("linux" , version .os ());
54
+ assertEquals ("linux" , version .osName ());
55
55
assertEquals ("amd64" , version .arch ());
56
56
assertTrue (version .experimental ());
57
57
}
You can’t perform that action at this time.
0 commit comments