Updated the config sample file generation command
Following the update of the project requirements, we should now use the oslo.config namespace of oslo.log when generating ou Watcher config sample file. Change-Id: I7a1f3d555534b40c041b7f042f19fae231b7e80c Closes-Bug: #1518297
This commit is contained in:
@@ -15,9 +15,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import itertools
|
||||
from oslo_log import _options
|
||||
|
||||
import watcher.api.app
|
||||
from watcher.applier.framework import manager_applier
|
||||
import watcher.common.messaging.messaging_core
|
||||
@@ -29,12 +26,6 @@ from watcher.decision_engine.strategy.selector import default \
|
||||
|
||||
def list_opts():
|
||||
return [
|
||||
('DEFAULT', itertools.chain(
|
||||
_options.generic_log_opts,
|
||||
_options.log_opts,
|
||||
_options.common_cli_opts,
|
||||
_options.logging_cli_opts
|
||||
)),
|
||||
('api', watcher.api.app.API_SERVICE_OPTS),
|
||||
('watcher_messaging',
|
||||
watcher.common.messaging.messaging_core.WATCHER_MESSAGING_OPTS),
|
||||
|
||||
Reference in New Issue
Block a user