Till Toenshoff created MESOS-7493:
-------------------------------------

             Summary: Add a convenience factory for creating Environment proto 
message.
                 Key: MESOS-7493
                 URL: https://issues.apache.org/jira/browse/MESOS-7493
             Project: Mesos
          Issue Type: Improvement
            Reporter: Till Toenshoff


Given that we use the {{Environment}} protobuf message extensively, refactoring 
all hand-rolled conversions into such factory seems beneficial.

Conversion factory should receive a {{hashmap}} and might return an 
{{Option<Environment>}} as the {{hashmap}} source may in fact be empty.

All uses of hand-rolled variants should get adapted to use this new factory.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to