← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1539071] Re: tox -e docs fails due to faulty api sample

 

Reviewed:  https://review.openstack.org/273520
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=1269f5aeb1e66df1e45c1c879bda3e63f45d7573
Submitter: Jenkins
Branch:    master

commit 1269f5aeb1e66df1e45c1c879bda3e63f45d7573
Author: Balazs Gibizer <balazs.gibizer@xxxxxxxxxxxx>
Date:   Thu Jan 28 14:05:03 2016 +0100

    doc: fix malformed api sample
    
    I74b1a340c5ab98fdea2186e87dd13f42ce7c7661 introduced a malformed api
    sample and the tox -e docs fails since then. This patch fixes the
    sample file.
    
    Closes-bug: #1539071
    Change-Id: Ica76db8928fc98db1a09074fdc46439c920e93d8


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1539071

Title:
  tox -e docs fails due to faulty api sample

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  tox -e docs fails on master (df8216b2bcf3657b1c89797d4e3ecc456cf27054)
  with

  python -m json.tool doc/api_samples/servers/v2.19/server-put-req.json 
  Expecting property name: line 5 column 5 (char 117)
  ERROR: InvocationError: '/bin/bash -c ! find doc/ -type f -name *.json | xargs -t -n1 python -m json.tool 2>&1 > /dev/null | grep -B1 -v ^python'
  _____________________________________________________________________________________________________ summary ______________________________________________________________________________________________________
  ERROR:   docs: commands failed

  It seem that doc/api_samples/servers/v2.19/server-put-req.json is not
  a valid json file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1539071/+subscriptions


References