[ https://issues.apache.org/jira/browse/MESOS-3404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14952889#comment-14952889 ]
Guangya Liu commented on MESOS-3404: ------------------------------------ Not sure if this need fix or not but I did see a JIRA ticket MESOS-3510 synchronized V1 helper functions with pre-v1. [~jvanremoortere] any comments? Thanks. > Merge duplicated code of Http V1 > -------------------------------- > > Key: MESOS-3404 > URL: https://issues.apache.org/jira/browse/MESOS-3404 > Project: Mesos > Issue Type: Bug > Components: HTTP API > Reporter: Klaus Ma > > After HTTP v1, there is a directory {{src/v1}} including all HTTP v1 related > code; but there some duplicated logic/code. The target of this ticket is to > draft a design to merge them. Refer to the following diff as an example: > {code} > klaus@klaus-ThinkPad-T420:~/Workspace/mesos-3063$ diff src/v1/values.cpp > src/common/values.cpp > 28,29c28,29 > < #include <mesos/v1/resources.hpp> > < #include <mesos/v1/values.hpp> > --- > > #include <mesos/resources.hpp> > > #include <mesos/values.hpp> > 42d41 > < namespace v1 { > 587d585 > < } // namespace v1 { > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)