On Mon, Sep 28, 2020 at 10:30:57PM +0800, Ren Wen wrote:
On Mon, Sep 28, 2020 at 07:34:51PM +0800, Wu Fengguang wrote:
Well I wonder if it's asking for trouble in future while costing more code complexity now.
What if some more jobs need this environment? What's the problem exposing the variables unconditionally?
Add the extra fields whether other idle jobs need or not?
Let's keep it simple by exporting env to all jobs.
TO ALL: selective action based on job name is BAD idea.
Thanks, Fengguang