Skip to content

Commit 6f0c789

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Fix typos in help messages"
2 parents e00f53a + aa1e7a6 commit 6f0c789

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

nova/compute/resource_tracker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,7 @@ def _merge_provider_configs(self, provider_configs, provider_tree):
18561856
raise ValueError(_(
18571857
"Provider config '%(source_file_name)s' attempts "
18581858
"to define a trait that is owned by the "
1859-
"virt driver or specified via the placment api. "
1859+
"virt driver or specified via the placement api. "
18601860
"Invalid traits '%(invalid)s' must be removed "
18611861
"from '%(source_file_name)s'.") % {
18621862
'source_file_name': source_file_name,

nova/conf/compute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
top-level key called ``interfaces``. This key will contain a list of
201201
dictionaries, one for each interface.
202202
203-
Refer to the cloudinit documentaion for more information:
203+
Refer to the cloudinit documentation for more information:
204204
205205
https://cloudinit.readthedocs.io/en/latest/topics/datasources.html
206206

nova/conf/hyperv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@
320320
cfg.ListOpt('iscsi_initiator_list',
321321
default=[],
322322
help="""
323-
List of iSCSI initiators that will be used for estabilishing iSCSI sessions.
323+
List of iSCSI initiators that will be used for establishing iSCSI sessions.
324324
325325
If none are specified, the Microsoft iSCSI initiator service will choose the
326326
initiator.

nova/conf/libvirt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@
453453
454454
Prerequisite: TLS environment is configured correctly on all relevant
455455
Compute nodes. This means, Certificate Authority (CA), server, client
456-
certificates, their corresponding keys, and their file permisssions are
456+
certificates, their corresponding keys, and their file permissions are
457457
in place, and are validated.
458458
459459
Notes:
@@ -705,7 +705,7 @@
705705
returns random numbers when read) is accepted. The recommended source
706706
of entropy is ``/dev/urandom`` -- it is non-blocking, therefore
707707
relatively fast; and avoids the limitations of ``/dev/random``, which is
708-
a legacy interface. For more details (and comparision between different
708+
a legacy interface. For more details (and comparison between different
709709
RNG sources), refer to the "Usage" section in the Linux kernel API
710710
documentation for ``[u]random``:
711711
http://man7.org/linux/man-pages/man4/urandom.4.html and

nova/conf/neutron.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
4747
Specifies the name of floating IP pool used for allocating floating IPs. This
4848
option is only used if Neutron does not specify the floating IP pool name in
49-
port binding reponses.
49+
port binding responses.
5050
"""),
5151
cfg.IntOpt('extension_sync_interval',
5252
default=600,

nova/conf/quota.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
deprecated_group='DEFAULT',
148148
deprecated_name='quota_server_groups',
149149
help="""
150-
The maxiumum number of server groups per project.
150+
The maximum number of server groups per project.
151151
152152
Server groups are used to control the affinity and anti-affinity scheduling
153153
policy for a group of servers or instances. Reducing the quota will not affect

nova/conf/scheduler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@
780780
781781
Possible values:
782782
783-
* An integer or float value, where the value corresponds to the multipler
783+
* An integer or float value, where the value corresponds to the multiplier
784784
ratio for this weigher.
785785
786786
Related options:
@@ -857,7 +857,7 @@
857857
858858
Possible values:
859859
860-
* An integer or float value, where the value corresponds to the multipler
860+
* An integer or float value, where the value corresponds to the multiplier
861861
ratio for this weigher.
862862
863863
Related options:

nova/tests/unit/compute/test_resource_tracker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4069,7 +4069,7 @@ def test_merge_provider_configs_additional_traits_exception(self):
40694069

40704070
expected = ("Provider config 'test_provider_config.yaml' attempts to "
40714071
"define a trait that is owned by the virt driver or "
4072-
"specified via the placment api. Invalid traits '" +
4072+
"specified via the placement api. Invalid traits '" +
40734073
ex_trait + "' must be removed from "
40744074
"'test_provider_config.yaml'.")
40754075

0 commit comments

Comments
 (0)