Redundant variable declarations in create()

Bug #1265148 reported by Liusheng on 2013-12-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Wishlist
Liusheng

Bug Description

The method create() in /cinder/api/v2/volumes.py has two redundant variable declarations:
 image_href = None
 image_uuid = None

these should be reduced.

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

Changed in cinder:
assignee: nobody → Liusheng (liusheng)
status: New → In Progress
Changed in cinder:
importance: Undecided → Wishlist

Reviewed: https://review.openstack.org/64512
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=a4c750f3027977551c1fdab430040689a620edb0
Submitter: Jenkins
Branch: master

commit a4c750f3027977551c1fdab430040689a620edb0
Author: ls1175 <email address hidden>
Date: Tue Dec 31 15:54:17 2013 +0800

    Reduce the redundant variable declarations

    The method create() in /cinder/api/v2/volumes.py has two redundant
    variable declarations: image_href = None image_uuid = None
    These should be reduced

    Change-Id: If3798d4bd96998707d7a5f87ece95ed8c93cc042
    Closes-bug: #1265148

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2014-01-22
Changed in cinder:
milestone: none → icehouse-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2014-04-17
Changed in cinder:
milestone: icehouse-2 → 2014.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers