From 63680d1194df9caac5770025f971aeb2cd343b6a Mon Sep 17 00:00:00 2001 From: bragi92 Date: Wed, 28 Mar 2018 09:56:40 -0700 Subject: [PATCH] Add TODO comment --- source/code/plugin/in_containerlog_sudo_tail.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/source/code/plugin/in_containerlog_sudo_tail.rb b/source/code/plugin/in_containerlog_sudo_tail.rb index 03cc0ef4b..8755f8904 100644 --- a/source/code/plugin/in_containerlog_sudo_tail.rb +++ b/source/code/plugin/in_containerlog_sudo_tail.rb @@ -20,6 +20,7 @@ def initialize #We have read permission on this file but don't have execute permission on the below mentioned path. Hence wildcard character searches to find the container ID's doesn't work. @containerLogFilePath = "/var/lib/docker/containers/" #This folder contains a list of all the containers running/stopped and we're using it to get all the container ID's which will be needed for the log file path below + #TODO : Use generic path from docker REST endpoint and find a way to mount the correct folder in the omsagent.yaml @containerIDFilePath = "/var/opt/microsoft/docker-cimprov/state/ContainerInventory/*" end