[
https://issues.apache.org/jira/browse/MESOS-3781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15242173#comment-15242173
]
Vinod Kone commented on MESOS-3781:
-----------------------------------
Another option that BenM suggested, which I quite like, is to let Flags::add()
take a list of "Name" and "DeprecatedName" structs instead of a list of
strings. The idea is to have 2 structs (Name and DeprecatedName) both of which
are default constructible from a string. The advantage is that we can clearly
identify which of the names is deprecated and automatically generate a warning
when a deprecated name is being loaded.
> Replace Master/Slave Terminology Phase I - Add duplicate agent flags
> ---------------------------------------------------------------------
>
> Key: MESOS-3781
> URL: https://issues.apache.org/jira/browse/MESOS-3781
> Project: Mesos
> Issue Type: Task
> Reporter: Diana Arroyo
> Assignee: Jay Guo
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)