[
https://issues.apache.org/jira/browse/MESOS-4928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevin Klues updated MESOS-4928:
-------------------------------
Description: When possible, {{.get()}} calls should be replaced by {{->}}
for {{Option}} / {{Try}} variables. This ticket only proposes a blanket change
for this in the resource abstraction files, not the code base as a whole. This
is in preparation for introducing the new GPU resource. Without this change, I
would need to use the old {{.get()}} calls. Instead, I propose to fix the old
code surrounding it so that consistency has me doing it the right way. (was:
When possible, {{.get()}} calls should be replaced by {{->}} for {{Option}} /
{{Try}} variables. This ticket only proposes a blanket change for this in the
resource abstraction files.)
> We should remove all '.get().' calls on Option / Try variables in the
> resources abstraction.
> --------------------------------------------------------------------------------------------
>
> Key: MESOS-4928
> URL: https://issues.apache.org/jira/browse/MESOS-4928
> Project: Mesos
> Issue Type: Improvement
> Reporter: Kevin Klues
> Assignee: Kevin Klues
> Labels: mesosphere
>
> When possible, {{.get()}} calls should be replaced by {{->}} for {{Option}} /
> {{Try}} variables. This ticket only proposes a blanket change for this in
> the resource abstraction files, not the code base as a whole. This is in
> preparation for introducing the new GPU resource. Without this change, I
> would need to use the old {{.get()}} calls. Instead, I propose to fix the
> old code surrounding it so that consistency has me doing it the right way.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)