[ 
https://issues.apache.org/jira/browse/MESOS-7312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15947959#comment-15947959
 ] 

Jie Yu commented on MESOS-7312:
-------------------------------

commit 75c6dfaa9b816c61eb7a3e155f990d96276dcaa3
Author: Benjamin Bannier <benjamin.bann...@mesosphere.io>
Date:   Wed Mar 29 14:28:38 2017 -0700

    Added UNKNOWN DiskInfo.Source type.

    We introduce an explicit UNKNOWN enum kind to allow explicit handling
    of unknown enum values (e.g., when the sending and receiving end use
    different versions of a message using the enum).

    This commit also migrates pattern matching of values of this enum from
    if statements to switch statements so that compiler diagnostics can be
    used to identify unhandled cases when other types are added in the
    future.

    Review: https://reviews.apache.org/r/57911/

> Update Resource proto for storage resource providers.
> -----------------------------------------------------
>
>                 Key: MESOS-7312
>                 URL: https://issues.apache.org/jira/browse/MESOS-7312
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Benjamin Bannier
>            Assignee: Benjamin Bannier
>
> Storage resource provider support requires a number of changes to the 
> {{Resource}} proto:
> * support for {{RAW}} and {{BLOCK}} type {{Resource::DiskInfo::Source}}
> * {{ResourceProviderID}} in Resource
> * {{Resource::DiskInfo::Source::Path}} should be {{optional}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to