Set default notifier endpoint

The notifier endpoint needs to be set otherwise the default default_email
notifier driver will complain about the empty smtp server url [1].

[1] https://github.com/openstack/freezer-dr/blob/master/freezer_dr/notifiers/drivers/default/default_email.py#L37-L38

Change-Id: I9ac4669ecc50ce93adf28084ab6280b66c4dc2f0
This commit is contained in:
Chen 2018-10-15 20:05:56 +08:00
parent 7b809f6158
commit f3e4fc01a2
2 changed files with 2 additions and 2 deletions

View File

@ -241,7 +241,7 @@
# Endpoint URL for the notification system. If you the driver you are using
# doesnot require any URL just comment it or use none (string value)
#endpoint = <None>
#endpoint = localhost
# Username to authenticate against the notification system. If the driver you
# are using doesnot require any authentications comment or use None (string

View File

@ -151,7 +151,7 @@ _NOTIFIERS = [
'StandardEmail and freezer_dr.notifiers.drivers.default.'
'slack.slack.SlackNotifier'),
cfg.StrOpt('endpoint',
default=None,
default='localhost',
dest='endpoint',
help='Endpoint URL for the notification system. If you the '
'driver you are using doesnot require any URL just comment'