mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niklas Quarfot Nielsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-2622) Document the semantic change in decorator return values
Date Mon, 20 Apr 2015 20:38:58 GMT

    [ https://issues.apache.org/jira/browse/MESOS-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14503560#comment-14503560
] 

Niklas Quarfot Nielsen commented on MESOS-2622:
-----------------------------------------------

https://reviews.apache.org/r/33372/

> Document the semantic change in decorator return values
> -------------------------------------------------------
>
>                 Key: MESOS-2622
>                 URL: https://issues.apache.org/jira/browse/MESOS-2622
>             Project: Mesos
>          Issue Type: Documentation
>            Reporter: Niklas Quarfot Nielsen
>            Assignee: Niklas Quarfot Nielsen
>              Labels: mesosphere
>
> In order to enable decorator modules to _remove_ metadata (environment variables or labels),
we changed the meaning of the return value for decorator hooks.
> The Result<T> return values means:
> ||State||Before||After||
> |Error|Error is propagated to the call-site|No change|
> |None|The result of the decorator is not applied|No change|
> |Some|The result of the decorator is *appended*|The result of the decorator *overwrites*
the final labels/environment object|



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

Mime
View raw message