compose/aci
Guillaume Tardif 40334d570a Avoid nil pointer when reading logs of a just terminated container.
Hit this when following logs of a container restarted with a health check: 
```
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x168771e]

goroutine 1 [running]:
github.com/docker/compose-cli/aci.getACIContainerLogs(0x2d85260, 0xc000526c60, 0xc0001465a0, 0x24, 0xc0004f4da0, 0xa, 0xc0004f4db0, 0x7, 0x7ffeefbffab2, 0xb, ...)
	github.com/docker/compose-cli/aci/aci.go:285 +0x1fe
github.com/docker/compose-cli/aci.streamLogs(0x2d85260, 0xc000526c60, 0xc0001465a0, 0x24, 0xc0004f4da0, 0xa, 0xc0004f4db0, 0x7, 0x7ffeefbffab2, 0xb, ...)
	github.com/docker/compose-cli/aci/aci.go:297 +0x2e5
```

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-09 18:19:31 +01:00
..
convert Do not send zero values in LivenessProbe, blocking deployments in some cases 2020-11-06 12:21:12 +01:00
etchosts Add trailing empty line in /etc/hosts that seem to be causing flakiness in name resolution for the last service mentioned 2020-10-27 09:41:19 +01:00
login Add version to UserAgent on ACI 2020-10-12 09:15:32 +02:00
aci.go Avoid nil pointer when reading logs of a just terminated container. 2020-11-09 18:19:31 +01:00
aci_test.go Update copyright 2020-09-22 12:13:00 +02:00
backend.go Add `docker prune` command and ACI implementation 2020-10-14 17:48:11 +02:00
backend_test.go Update copyright 2020-09-22 12:13:00 +02:00
cloud.go Update copyright 2020-09-22 12:13:00 +02:00
compose.go Marshall cloudformation template as yaml 2020-11-05 11:01:32 +01:00
containers.go Fix panic when invoking inspect with empty container id (ACI SDK returns status 200 but nil container group properties) 2020-10-13 15:33:52 +02:00
context.go Update copyright 2020-09-22 12:13:00 +02:00
context_test.go Update copyright 2020-09-22 12:13:00 +02:00
resource_group.go Update copyright 2020-09-22 12:13:00 +02:00
resources.go Display summary of reclaimed ACI resources (CPU/mem) in `docker prune` 2020-10-15 15:45:48 +02:00
volumes.go Fix volume create cli bug 2020-10-20 19:34:06 +02:00