+gilbert On Thu, Mar 23, 2017 at 1:54 AM, Olivier Sallou <olivier.sal...@irisa.fr> wrote:
> Hi, > > when transforming a protobug message to json with MessageToJson, the > json is not compatible with the json format expected by Mesos master. > > For example, for volumes it generates > > > volumes: [ > > {'hostPath': '....', > > 'containerPath': '...', > > ... > > } > > ] > > > but HTTP API expects "source" and "container_path" > > is it an expected behavior ? This prevents from "creating" a task in > protobuf format and sending it to HTTP API with a protobug to json > conversion. > > Thanks > > Olivier > > -- > Olivier Sallou > IRISA / University of Rennes 1 > Campus de Beaulieu, 35000 RENNES - FRANCE > Tel: 02.99.84.71.95 > > gpg key id: 4096R/326D8438 (keyring.debian.org) > Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 > >