Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-1699

UNLIKE constraint seems to be required

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Marathon 1.4.2
    • Component/s: Docs
    • Labels:

      Description

      Marathon version: 1.4.0-RC5

      When I submit this app config:

      Unable to find source-code formatter for language: js. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
      {
        "id": "/mlunoe/constraints",
        "cmd": "sleep 9999",
        "instances": 1,
        "cpus": 0.1,
        "constraints": [
          [
            "five",
            "UNLIKE"
          ]
        ]
      }
      

      I receive this API response:

      Unable to find source-code formatter for language: js. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
      {
        "message": "Object is not valid",
        "details": [
          {
            "path": "/constraints",
            "errors": ["A regular expression value must be provided"]
          }
        ]
      }
      

        Attachments

          Activity

            People

            • Assignee:
              suzanne Suzanne Scala (Inactive)
              Reporter:
              mlunoe Michael Lunøe (Inactive)
              Team:
              Orchestration Team
              Watchers:
              Automation Bot, Deepak Goel, Jason Gilanfarr (Inactive), Marco Monaco, Michael Lunøe (Inactive), Suzanne Scala (Inactive)
            • Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: