mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klaus Ma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MESOS-3404) Merge duplicated code of Http V1
Date Thu, 10 Sep 2015 05:29:46 GMT
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)

Mime
View raw message