Merge ~adam-collard/maas:received-pronunciation into maas:master

Proposed by Adam Collard
Status: Merged
Approved by: Adam Collard
Approved revision: 74579b1350769cdbce0d595e47fa1298aa9d25c5
Merge reported by: MAAS Lander
Merged at revision: not available
Proposed branch: ~adam-collard/maas:received-pronunciation
Merge into: maas:master
Diff against target: 229 lines (+22/-22)
11 files modified
src/maasserver/api/boot_resources.py (+2/-2)
src/maasserver/bootresources.py (+1/-1)
src/maasserver/rack_controller.py (+5/-5)
src/maasserver/region_controller.py (+3/-3)
src/maasserver/regiondservices/syslog.py (+1/-1)
src/maasserver/rpc/leases.py (+2/-2)
src/maasserver/rpc/regionservice.py (+1/-1)
src/maasserver/status_monitor.py (+1/-1)
src/metadataserver/api_twisted.py (+1/-1)
src/provisioningserver/rackdservices/lease_socket_service.py (+2/-2)
src/provisioningserver/rpc/common.py (+3/-3)
Reviewer Review Type Date Requested Status
MAAS Lander Approve
Alberto Donato (community) Approve
Review via email: mp+431722@code.launchpad.net

Commit message

Fix spelling of receiv{e,ed,ing}

To post a comment you must log in.
Revision history for this message
MAAS Lander (maas-lander) wrote :

UNIT TESTS
-b received-pronunciation lp:~adam-collard/maas/+git/maas into -b master lp:~maas-committers/maas

STATUS: FAILED
LOG: http://maas-ci.internal:8080/job/maas-tester/1086/consoleText
COMMIT: 74579b1350769cdbce0d595e47fa1298aa9d25c5

review: Needs Fixing
Revision history for this message
Adam Collard (adam-collard) wrote :

jenkins: !test

Revision history for this message
Alberto Donato (ack) wrote :

+1

review: Approve
Revision history for this message
MAAS Lander (maas-lander) wrote :

UNIT TESTS
-b received-pronunciation lp:~adam-collard/maas/+git/maas into -b master lp:~maas-committers/maas

STATUS: SUCCESS
COMMIT: 74579b1350769cdbce0d595e47fa1298aa9d25c5

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/src/maasserver/api/boot_resources.py b/src/maasserver/api/boot_resources.py
2index bf2caee..6100c89 100644
3--- a/src/maasserver/api/boot_resources.py
4+++ b/src/maasserver/api/boot_resources.py
5@@ -383,7 +383,7 @@ class BootResourceFileUploadHandler(OperationsHandler):
6 raise MAASAPIBadRequest("Missing data.")
7 if size != len(data):
8 raise MAASAPIBadRequest(
9- "Content-Length doesn't equal size of recieved data."
10+ "Content-Length doesn't equal size of received data."
11 )
12 if resource.rtype not in ALLOW_UPLOAD_RTYPES:
13 raise MAASAPIForbidden(
14@@ -399,7 +399,7 @@ class BootResourceFileUploadHandler(OperationsHandler):
15 # than expected.
16 current_size = stream.tell()
17 if current_size + size > rfile.largefile.total_size:
18- raise MAASAPIBadRequest("Too much data recieved.")
19+ raise MAASAPIBadRequest("Too much data received.")
20
21 stream.write(data)
22 rfile.largefile.size = current_size + size
23diff --git a/src/maasserver/bootresources.py b/src/maasserver/bootresources.py
24index 89e9c3a..90044ce 100644
25--- a/src/maasserver/bootresources.py
26+++ b/src/maasserver/bootresources.py
27@@ -1187,7 +1187,7 @@ def download_all_boot_resources(
28
29 This process is long running and can be triggered to be stopped through
30 a postgres notification of `sys_stop_import`. When that notification is
31- recieved the running import will be stopped.
32+ received the running import will be stopped.
33
34 :param sources: List of dicts describing the Simplestreams sources from
35 which we should download.
36diff --git a/src/maasserver/rack_controller.py b/src/maasserver/rack_controller.py
37index 3187868..4e6c883 100644
38--- a/src/maasserver/rack_controller.py
39+++ b/src/maasserver/rack_controller.py
40@@ -178,7 +178,7 @@ class RackControllerService(Service):
41 rack_id = int(rack_id)
42
43 log.debug(
44- "[pid:{pid()}] recieved {action} action for rack: {rack_id}",
45+ "[pid:{pid()}] received {action} action for rack: {rack_id}",
46 pid=os.getpid,
47 action=action,
48 rack_id=rack_id,
49@@ -191,7 +191,7 @@ class RackControllerService(Service):
50 )
51 else:
52 log.warn(
53- "[pid:{pid()}] recieved unwatched when not watching "
54+ "[pid:{pid()}] received unwatched when not watching "
55 "for rack: {rack_id}",
56 pid=os.getpid,
57 rack_id=rack_id,
58@@ -205,7 +205,7 @@ class RackControllerService(Service):
59 )
60 else:
61 log.warn(
62- "[pid:{pid()}] recieved watched when already watching "
63+ "[pid:{pid()}] received watched when already watching "
64 "for rack: {rack_id}",
65 pid=os.getpid,
66 rack_id=rack_id,
67@@ -248,7 +248,7 @@ class RackControllerService(Service):
68 )
69 else:
70 log.warn(
71- "[pid:{pid()}] recieved DHCP push notify when not watching "
72+ "[pid:{pid()}] received DHCP push notify when not watching "
73 "for rack: {rack_id}",
74 pid=os.getpid,
75 rack_id=rack_id,
76@@ -302,7 +302,7 @@ class RackControllerService(Service):
77 log.info(
78 f"[pid:{os.getpid()}] watched rack is not in the DB, un-watching: {rack_id}"
79 )
80- # Note: since proper unwatch message might come later, "recieved unwatched when not watching"
81+ # Note: since proper unwatch message might come later, "received unwatched when not watching"
82 # warning might show up.
83 self.watching.discard(rack_id)
84 else:
85diff --git a/src/maasserver/region_controller.py b/src/maasserver/region_controller.py
86index 8302717..60397e8 100644
87--- a/src/maasserver/region_controller.py
88+++ b/src/maasserver/region_controller.py
89@@ -8,19 +8,19 @@ This service is ran only on the master regiond process for a region controller.
90
91 DNS:
92 The regiond process listens for messages from Postgres on channel
93- 'sys_dns'. Any time a message is recieved on that channel the DNS is marked
94+ 'sys_dns'. Any time a message is received on that channel the DNS is marked
95 as requiring an update. Once marked for update the DNS configuration is
96 updated and bind9 is told to reload.
97
98 Proxy:
99 The regiond process listens for messages from Postgres on channel
100- 'sys_proxy'. Any time a message is recieved on that channel the maas-proxy
101+ 'sys_proxy'. Any time a message is received on that channel the maas-proxy
102 is marked as requiring an update. Once marked for update the proxy
103 configuration is updated and maas-proxy is told to reload.
104
105 RBAC:
106 The regiond process listens for messages from Postgres on channel
107- 'sys_rbac'. Any time a message is recieved on that channel the RBAC
108+ 'sys_rbac'. Any time a message is received on that channel the RBAC
109 micro-service is marked as required a sync. Once marked for sync the
110 RBAC micro-service will be pushed the changed information.
111 """
112diff --git a/src/maasserver/regiondservices/syslog.py b/src/maasserver/regiondservices/syslog.py
113index 086ab8c..9e50306 100644
114--- a/src/maasserver/regiondservices/syslog.py
115+++ b/src/maasserver/regiondservices/syslog.py
116@@ -67,7 +67,7 @@ class RegionSyslogService(TimerService):
117 else:
118 if this_region.is_rack_controller:
119 # Region controller is also a rack controller, need to forward
120- # the recieved syslog message to the other region peers.
121+ # the received syslog message to the other region peers.
122 peers = self._getPeers(this_region)
123 else:
124 # Only a region controller, no need to forward logs.
125diff --git a/src/maasserver/rpc/leases.py b/src/maasserver/rpc/leases.py
126index 6016bc5..83a24d0 100644
127--- a/src/maasserver/rpc/leases.py
128+++ b/src/maasserver/rpc/leases.py
129@@ -78,7 +78,7 @@ def update_lease(
130 raise LeaseUpdateError("Unknown lease action: %s" % action)
131
132 # Get the subnet for this IP address. If no subnet exists then something
133- # is wrong as we should not be recieving message about unknown subnets.
134+ # is wrong as we should not be receiving message about unknown subnets.
135 subnet = Subnet.objects.get_best_subnet_for_ip(ip)
136 if subnet is None:
137 raise LeaseUpdateError("No subnet exists for: %s" % ip)
138@@ -111,7 +111,7 @@ def update_lease(
139 )
140 )
141
142- # We will recieve actions on all addresses in the subnet. We only want
143+ # We will receive actions on all addresses in the subnet. We only want
144 # to update the addresses in the dynamic range.
145 dynamic_range = subnet.get_dynamic_range_for_ip(IPAddress(ip))
146 if dynamic_range is None:
147diff --git a/src/maasserver/rpc/regionservice.py b/src/maasserver/rpc/regionservice.py
148index ebdea8a..757abc8 100644
149--- a/src/maasserver/rpc/regionservice.py
150+++ b/src/maasserver/rpc/regionservice.py
151@@ -157,7 +157,7 @@ class Region(RPCProtocol):
152
153 # Wait for the record to be handled. This will cause the cluster to
154 # send one at a time. So they are processed in order no matter which
155- # region recieves the message.
156+ # region receives the message.
157 return d
158
159 @amp.StartTLS.responder
160diff --git a/src/maasserver/status_monitor.py b/src/maasserver/status_monitor.py
161index 9a15ea0..5211991 100644
162--- a/src/maasserver/status_monitor.py
163+++ b/src/maasserver/status_monitor.py
164@@ -177,7 +177,7 @@ def mark_nodes_failed_after_missing_script_timeout(now, node_timeout):
165 # The node running the scripts checks if the script has run past
166 # its time limit. The node will try to kill the script and move on
167 # by signaling the region. If after 5 minutes past the timeout the
168- # region hasn't recieved the signal mark_failed and stop the node.
169+ # region hasn't received the signal mark_failed and stop the node.
170 script_expires = (
171 script_result.started + timeout + timedelta(minutes=5)
172 )
173diff --git a/src/metadataserver/api_twisted.py b/src/metadataserver/api_twisted.py
174index 070e0c1..c5f3789 100644
175--- a/src/metadataserver/api_twisted.py
176+++ b/src/metadataserver/api_twisted.py
177@@ -276,7 +276,7 @@ def _create_vmhost_for_deployment(node):
178
179
180 class StatusWorkerService(TimerService):
181- """Service to update nodes from recieved status messages."""
182+ """Service to update nodes from received status messages."""
183
184 check_interval = 60 # Every second.
185
186diff --git a/src/provisioningserver/rackdservices/lease_socket_service.py b/src/provisioningserver/rackdservices/lease_socket_service.py
187index eff546e..e917637 100644
188--- a/src/provisioningserver/rackdservices/lease_socket_service.py
189+++ b/src/provisioningserver/rackdservices/lease_socket_service.py
190@@ -1,7 +1,7 @@
191 # Copyright 2014-2016 Canonical Ltd. This software is licensed under the
192 # GNU Affero General Public License version 3 (see the file LICENSE).
193
194-"""Twisted service recieves lease information from the MAAS dhcpd.sock."""
195+"""Twisted service receives lease information from the MAAS dhcpd.sock."""
196
197
198 from collections import deque
199@@ -28,7 +28,7 @@ def get_socket_path():
200
201
202 class LeaseSocketService(Service, DatagramProtocol):
203- """Service for recieving lease information over MAAS dhcpd.sock."""
204+ """Service for receiving lease information over MAAS dhcpd.sock."""
205
206 # None, or a Deferred that will fire when the processor exits.
207 done = None
208diff --git a/src/provisioningserver/rpc/common.py b/src/provisioningserver/rpc/common.py
209index 40e091f..34e8183 100644
210--- a/src/provisioningserver/rpc/common.py
211+++ b/src/provisioningserver/rpc/common.py
212@@ -331,14 +331,14 @@ class RPCProtocol(amp.AMP):
213
214 def _answerReceived(self, box):
215 """
216- Override `_answerRecieved` to log recieving RPC response.
217+ Override `_answerRecieved` to log receiving RPC response.
218 """
219- log.debug("[RPC <- recieved] {box}", box=box)
220+ log.debug("[RPC <- received] {box}", box=box)
221 return super()._answerReceived(box)
222
223 def _errorReceived(self, box):
224 """
225- Override `_errorReceived` to log recieving RPC response.
226+ Override `_errorReceived` to log receiving RPC response.
227 """
228 log.debug("[RPC <- error] {box}", box=box)
229 return super()._errorReceived(box)

Subscribers

People subscribed via source and target branches