Skip to content
Snippets Groups Projects
Commit 9a965720 authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Fix crash when printing error for inpsectContainer

parent efa607dd
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -266,7 +266,7 @@ func handleDockerContainer(client DockerClient, container *docker.Container) {
func handleDockerContainerID(client DockerClient, containerID string) {
container, err := client.InspectContainer(containerID)
if err != nil {
logrus.Warningln("Failed to inspect container", containerID, container.Name, err)
logrus.Warningln("Failed to inspect container", containerID, err)
return
}
handleDockerContainer(client, container)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment