You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Klaus Ma (JIRA)" <ji...@apache.org> on 2015/09/10 07:29:46 UTC

[jira] [Created] (MESOS-3404) Merge duplicated code of Http V1

Klaus Ma created MESOS-3404:
-------------------------------

             Summary: 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)