You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Till Toenshoff (JIRA)" <ji...@apache.org> on 2016/11/02 16:32:59 UTC
[jira] [Created] (MESOS-6533) We should consider offering some
abstraction for rendering binary extensions where needed.
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)