example in comment of context manila_share_networks wrong

Bug #1587164 reported by Tom Patzig on 2016-05-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Undecided
Tom Patzig

Bug Description

The example given in https://github.com/openstack/rally/blob/master/rally/plugins/openstack/context/manila/manila_share_networks.py#L50 has wrong syntax.

It must be:

      "share_networks": {
        "demo": [
          "themnet"
        ]
      }

Tom Patzig (tom-patzig) on 2016-05-30
Changed in rally:
assignee: nobody → Tom Patzig (tom-patzig)

Fix proposed to branch: master
Review: https://review.openstack.org/322970

Changed in rally:
status: New → In Progress

Reviewed: https://review.openstack.org/322970
Committed: https://git.openstack.org/cgit/openstack/rally/commit/?id=58e861ac0ef6aa3a6704e3ce3f36c09cff821675
Submitter: Jenkins
Branch: master

commit 58e861ac0ef6aa3a6704e3ce3f36c09cff821675
Author: Tom Patzig <email address hidden>
Date: Mon May 30 21:21:48 2016 +0200

    Fixed syntax in share_networks example comment

    The comment shows how to use manila_share_networks context in tasks.
    The syntax in this example for the project-share_network mapping was
    wrong.
    This patch fixes the syntax of the share_network mapping example
    and shows where to be placed inside of 'context'.

    Change-Id: I6e58be0598790e87f087d20128f764f9efb7efef
    Closes-Bug: #1587164

Changed in rally:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers