Details

      Description

      Issue can be seen using the REPL:

      @ import mesosphere.marathon.core.condition._
      @ import play.api.libs.json._
      @ Json.toJson(Condition.Finished)
      res3: JsValue = JsObject(Map("str" -> JsString("finished")))
      
      @ Json.toJson(Condition.Finished).as[Condition]
      res4: Condition = Unknown
      

      The problem is that we are missing an entry, here:

      https://github.com/mesosphere/marathon/blob/v1.5.1/src/main/scala/mesosphere/marathon/core/condition/Condition.scala#L143

        Attachments

          Activity

            People

            • Assignee:
              tharper Tim Harper
              Reporter:
              tharper Tim Harper
              Team:
              Orchestration Team
              Watchers:
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: