Skip to content

Commit b7621f6

Browse files
committed
dns backwards check
1 parent 2f8b3ea commit b7621f6

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
=========
33

4+
3.3.12 (2019-01-09)
5+
------------------------
6+
7+
* Updated DNS check to be backwards compatible
8+
9+
410
3.3.11 (2019-01-09)
511
------------------------
612

divio_cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.3.11"
1+
__version__ = "3.3.12"

divio_cli/check_system.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class DockerEngineDNSCheck(DockerEngineBaseCheck):
177177
"busybox",
178178
"sh",
179179
"-c", # run in new a shell to avoid problems with timeout
180-
"timeout 5 nslookup -type=a control.divio.com.",
180+
"timeout 5 nslookup -type=a control.divio.com. || timeout -t 5 nslookup -type=a control.divio.com.",
181181
)
182182

183183
def fmt_exception(self, exc):

0 commit comments

Comments
 (0)