Add comment to DockerContainerPool strategy regarding filtering

This commit is contained in:
Sebastian Serth
2022-04-12 12:47:16 +02:00
parent 83f63a9120
commit 5caace01b6

View File

@ -264,7 +264,9 @@ class Runner::Strategy::DockerContainerPool < Runner::Strategy
@stream = 'stdout'
{'type' => @stream, 'data' => event_data}
when /#{Regexp.quote(@strategy.command)}/
# Hide command from output
when /bash: cmd:canvasevent: command not found/
# Hide errors from output when Python program exited before it consumed all canvas events
else
{'type' => @stream, 'data' => event_data}
end