notifier: stop relying on global conf object

Change-Id: I3e27bd0e84aa240a4757888d743e2faeba389c4c
This commit is contained in:
Julien Danjou
2015-07-24 11:02:02 +02:00
parent 15d41ff32f
commit 69fb02f17e
3 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
# -*- encoding: utf-8 -*-
#
# Copyright 2014 OpenStack Foundation
# Copyright 2015 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
@@ -24,7 +25,7 @@ CONF = cfg.CONF
def notifier():
service.prepare_service()
os_service.launch(CONF, service.AlarmNotifierService()).wait()
os_service.launch(CONF, service.AlarmNotifierService(CONF)).wait()
def evaluator():