Fork me on GitHub
#onyx
<
2018-02-28
>
dbernal14:02:14

@niamu Ok I see. That's kind of what I was beginning to lean towards. Thanks for the tip!

eelke14:02:19

I've finished another first draft of passing the boolean through the main. https://github.com/onyx-platform/onyx-dashboard/pull/88

eelke14:02:14

Thanks @niamu for your submission. I tested it and it does not work as is. But I think you got the right idea to use environment variables

eelke15:02:17

I adapted it to make it work, you just need to get to the right value in the deployments map of the app-state, but preferably I think it may be better to create a separate route in the server.clj

niamu15:02:58

Yeah, admittedly mine is a bit hacked in to the current deployment listing route. I rationalized the hack to myself thinking that there may be a future reason to turn off management of only some jobs and not all jobs, but I’m not sure how that would be handled.