diff options
author | Nguyen Hai Truong <truongnh@vn.fujitsu.com> | 2018-11-08 01:08:05 -0800 |
---|---|---|
committer | Nguyen Hai Truong <truongnh@vn.fujitsu.com> | 2018-11-08 01:08:05 -0800 |
commit | c9ef9d9d020812ae6a31b33fce0c287422a2c4db (patch) | |
tree | 617743fb963b3fdfc64cb37d71987aa7d74d8c2d | |
parent | cf0d349b56ebb4c7e473fe9b5dafa4ce638b876f (diff) |
trivial fix: Correct some spelling errors
Small modification to correct spelling mistake.
Change-Id: Ic7f145291dc5829cf6955b8714c87dba96e04bde
Notes
Notes (review):
Code-Review+2: Witold Bedyk <witold.bedyk@est.fujitsu.com>
Workflow+1: Witold Bedyk <witold.bedyk@est.fujitsu.com>
Verified+2: Zuul
Submitted-by: Zuul
Submitted-at: Thu, 08 Nov 2018 10:14:10 +0000
Reviewed-on: https://review.openstack.org/616463
Project: openstack/monasca-notification
Branch: refs/heads/master
-rw-r--r-- | docker/Dockerfile | 2 | ||||
-rw-r--r-- | monasca_notification/notification.py | 2 | ||||
-rw-r--r-- | notification.yaml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index dc5a7a7..13bf4f4 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile | |||
@@ -31,7 +31,7 @@ ENV \ | |||
31 | STATSD_PORT=8125 \ | 31 | STATSD_PORT=8125 \ |
32 | STAY_ALIVE_ON_FAILURE="false" | 32 | STAY_ALIVE_ON_FAILURE="false" |
33 | 33 | ||
34 | # Copy all neccessary files to proper locations. | 34 | # Copy all necessary files to proper locations. |
35 | COPY notification.yaml.j2 /etc/monasca/ | 35 | COPY notification.yaml.j2 /etc/monasca/ |
36 | 36 | ||
37 | # Implement start script in `start.sh` file. | 37 | # Implement start script in `start.sh` file. |
diff --git a/monasca_notification/notification.py b/monasca_notification/notification.py index 88bea45..2ea5a4b 100644 --- a/monasca_notification/notification.py +++ b/monasca_notification/notification.py | |||
@@ -48,7 +48,7 @@ class Notification(object): | |||
48 | type - The notification type | 48 | type - The notification type |
49 | name - Name used in sending | 49 | name - Name used in sending |
50 | address - where to send the notification | 50 | address - where to send the notification |
51 | period - period of sending the notificationv | 51 | period - period of sending the notification |
52 | retry_count - number of times we've tried to send | 52 | retry_count - number of times we've tried to send |
53 | alarm - info that caused the notification | 53 | alarm - info that caused the notification |
54 | notifications that come after this one to remain uncommitted. | 54 | notifications that come after this one to remain uncommitted. |
diff --git a/notification.yaml b/notification.yaml index 841fb5c..0f6bd79 100644 --- a/notification.yaml +++ b/notification.yaml | |||
@@ -88,7 +88,7 @@ queues: | |||
88 | sent_notifications_size: 50 # limiting this size reduces potential # of re-sent notifications after a failure | 88 | sent_notifications_size: 50 # limiting this size reduces potential # of re-sent notifications after a failure |
89 | 89 | ||
90 | zookeeper: | 90 | zookeeper: |
91 | url: 127.0.0.1:2181 # or comma seperated list of multiple hosts | 91 | url: 127.0.0.1:2181 # or comma separated list of multiple hosts |
92 | notification_path: /notification/alarms | 92 | notification_path: /notification/alarms |
93 | notification_retry_path: /notification/retry | 93 | notification_retry_path: /notification/retry |
94 | periodic_path: | 94 | periodic_path: |