← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1264056] [NEW] Redundant code to set sql_connection

 

Public bug reported:

In methods 'version_control' and 'db_sync' in
glance/db/sqlalchemy/migration.py,  there are redundant code
'sql_connection = CONF.sql_connection'.

It will never be used because the ' _version_control'  has the sentence.

** Affects: glance
     Importance: Undecided
     Assignee: Lee Li (lilinguo)
         Status: New

** Changed in: openstack-manuals
     Assignee: (unassigned) => Lee Li (lilinguo)

** Project changed: openstack-manuals => glance

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1264056

Title:
  Redundant code to set sql_connection

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  In methods 'version_control' and 'db_sync' in
  glance/db/sqlalchemy/migration.py,  there are redundant code
  'sql_connection = CONF.sql_connection'.

  It will never be used because the ' _version_control'  has the
  sentence.

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


Follow ups

References