providers/docker: check proper state for docker-logs [GH-3990]
This commit is contained in:
parent
9c23e4d9cb
commit
1ee46d3c95
|
@ -8,6 +8,7 @@ IMPROVEMENTS:
|
||||||
BUG FIXES:
|
BUG FIXES:
|
||||||
|
|
||||||
- core: Fix cases where sometimes SSH connection would hang.
|
- core: Fix cases where sometimes SSH connection would hang.
|
||||||
|
- command/docker-logs: Won't crash if container is removed. [GH-3990]
|
||||||
- providers/docker: Create args works. [GH-4526]
|
- providers/docker: Create args works. [GH-4526]
|
||||||
- providers/docker: Nicer error if package is called. [GH-4595]
|
- providers/docker: Nicer error if package is called. [GH-4595]
|
||||||
- providers/docker: Host IP restriction is forwarded through. [GH-4505]
|
- providers/docker: Host IP restriction is forwarded through. [GH-4505]
|
||||||
|
|
|
@ -43,7 +43,7 @@ module VagrantPlugins
|
||||||
next
|
next
|
||||||
end
|
end
|
||||||
|
|
||||||
state = machine.state
|
state = machine.state.id
|
||||||
if state == :host_state_unknown
|
if state == :host_state_unknown
|
||||||
machine.ui.output(I18n.t("docker_provider.logs_host_state_unknown"))
|
machine.ui.output(I18n.t("docker_provider.logs_host_state_unknown"))
|
||||||
next
|
next
|
||||||
|
|
Loading…
Reference in New Issue