diff options
| author | Russell Bryant <rbryant@redhat.com> | 2012-06-01 14:42:32 -0400 |
|---|---|---|
| committer | Russell Bryant <rbryant@redhat.com> | 2012-06-04 16:41:51 -0400 |
| commit | fd49b0ec8933188a489ca9f38beeb601a1108730 (patch) | |
| tree | cadc708343d44be32810ccea53aceeb5f8376ce6 /bin/instance-usage-audit | |
| parent | bf9fd420ae2044335f13b96af09e0d7539356055 (diff) | |
| download | nova-fd49b0ec8933188a489ca9f38beeb601a1108730.tar.gz nova-fd49b0ec8933188a489ca9f38beeb601a1108730.tar.xz nova-fd49b0ec8933188a489ca9f38beeb601a1108730.zip | |
Use openstack.common.cfg.CONF.
Part of blueprint common-rpc.
This patch makes the rpc code use the global config object from
openstack-common. Based on some recent discussions on the mailing list,
this may not be the final way configuration handling is done here, but
it is certainly better than the register_opts() hack that is removed by
this patch.
Change-Id: Id128126e0bc064a2a1c710c6bd32fb3d137dc7f6
Diffstat (limited to 'bin/instance-usage-audit')
| -rwxr-xr-x | bin/instance-usage-audit | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/instance-usage-audit b/bin/instance-usage-audit index 59fff1080..3d60edfec 100755 --- a/bin/instance-usage-audit +++ b/bin/instance-usage-audit @@ -63,7 +63,6 @@ from nova import utils FLAGS = flags.FLAGS if __name__ == '__main__': - rpc.register_opts(FLAGS) admin_context = context.get_admin_context() flags.parse_args(sys.argv) logging.setup() |
