Till Toenshoff created MESOS-6533:
-------------------------------------

             Summary: We should consider offering some abstraction for 
rendering binary extensions where needed.
                 Key: MESOS-6533
                 URL: https://issues.apache.org/jira/browse/MESOS-6533
             Project: Mesos
          Issue Type: Improvement
            Reporter: Till Toenshoff
            Priority: Minor


Things like the below feel a bit unfortunate - especially when happening in 
higher frequencies.

{noformat}
#ifndef __WINDOWS__
constexpr char TCP_CHECK_COMMAND[] = "mesos-tcp-connect";
constexpr char HTTP_CHECK_COMMAND[] = "curl";
#else
constexpr char TCP_CHECK_COMMAND[] = "mesos-tcp-connect.exe";
constexpr char HTTP_CHECK_COMMAND[] = "curl.exe";
#endif // __WINDOWS__
{noformat}

We could offer some abstraction that magically renders any needed runnable 
extension.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to