You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Isabel Jimenez (JIRA)" <ji...@apache.org> on 2016/02/10 17:48:18 UTC
[jira] [Commented] (MESOS-1778) Provide an option to validate flag
value in stout/flags.
[ https://issues.apache.org/jira/browse/MESOS-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15141129#comment-15141129 ]
Isabel Jimenez commented on MESOS-1778:
---------------------------------------
This was added in:
https://github.com/apache/mesos/commit/5596233382844da05b82a7769c726a8cdd1bfa17
> Provide an option to validate flag value in stout/flags.
> ---------------------------------------------------------
>
> Key: MESOS-1778
> URL: https://issues.apache.org/jira/browse/MESOS-1778
> Project: Mesos
> Issue Type: Improvement
> Components: stout
> Reporter: Alexander Rukletsov
> Assignee: Isabel Jimenez
> Priority: Minor
>
> Currently we can provide the default value for a flag, but cannot check if the flag is set to a reasonable value and, e.g., issue a warning. Passing an optional lambda checker to {{FlagBase::add()}} can be a possible solution.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)