Details

    • Type: Task
    • Status: Resolved
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: None

      Description

      /v1/apps/scale returns a 422:

      curl -v -L -H 'Content-Type: application/json' -X POST -d '{ "id": "Extractor", "instances": 2 }' localhost:8080/v1/apps/scale
      < HTTP/1.1 422 Unprocessable Entity
      {"errors":[{"attribute":"ports","error":"Elements must be unique"}]
      

      while the equivalent /v2 version succeeds:

      curl -v -L -H 'Content-Type: application/json' -X PUT -d '{ "instances": 2 }' localhost:8080/v2/apps/Extractor
      < HTTP/1.1 204 No Content
      

      I should just stop using /v1 But https://github.com/mesosphere/marathon_client needs to be updated around the v2 api.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              GitHub_asher Asher Feldman (Inactive)
              Team:
              Orchestration Team
              Watchers:
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: