Add comment to DockerContainerPool strategy regarding filtering
This commit is contained in:
@ -264,7 +264,9 @@ class Runner::Strategy::DockerContainerPool < Runner::Strategy
|
|||||||
@stream = 'stdout'
|
@stream = 'stdout'
|
||||||
{'type' => @stream, 'data' => event_data}
|
{'type' => @stream, 'data' => event_data}
|
||||||
when /#{Regexp.quote(@strategy.command)}/
|
when /#{Regexp.quote(@strategy.command)}/
|
||||||
|
# Hide command from output
|
||||||
when /bash: cmd:canvasevent: command not found/
|
when /bash: cmd:canvasevent: command not found/
|
||||||
|
# Hide errors from output when Python program exited before it consumed all canvas events
|
||||||
else
|
else
|
||||||
{'type' => @stream, 'data' => event_data}
|
{'type' => @stream, 'data' => event_data}
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user