Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Mesosphere Sprint 20, Mesosphere Sprint 21
-
3
Description
Currently, we used a customized format for --resources flag. As we introduce more and more stuffs (e.g., persistence, reservation) in Resource object, we need a more generic way to specify --resources.
For backward compatibility, we can scan the first character. If it is '[', then we invoke the JSON parser. Otherwise, we use the existing parser.
Attachments
Issue Links
- blocks
-
MESOS-3401 Add labels to Resources
- Accepted
- is blocked by
-
MESOS-3312 Factor out JSON to repeated protobuf conversion
- Resolved
- relates to
-
MESOS-3698 JSON parsing allows non-whitespace trailing characters
- Resolved