Skip to content

Commit 3c2afb9

Browse files
authored
doc, comment: Fix spelling of ommitted (incorrect) to omitted (#6270)
doc, comment: Fix all spellings of omitted(from omit) from incorrect: "ommitted" - Even if it may sound like "mm", English dictionaries and spelling sites say "omitted".
2 parents 3234be2 + 15475d0 commit 3c2afb9

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

doc/content/xen-api/wire-protocol.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,11 @@ contains the members `jsonrpc`, `method`, `params`, and `id`.
277277

278278
- `params`: A JSON `array` of values, which represents the parameters of the
279279
function to be invoked. Although the JSON-RPC v2.0 specification allows this
280-
member to be ommitted, in practice all API calls accept at least one parameter.
280+
member to be omitted, in practice all API calls accept at least one parameter.
281281

282282
- `id`: A JSON `string` or `integer` representing the call id. Note that,
283283
diverging from the JSON-RPC v2.0 specification it cannot be null. Neither can
284-
it be ommitted because the API does not accept _notification_ requests
284+
it be omitted because the API does not accept _notification_ requests
285285
(requests without responses).
286286

287287
For example, the body of a JSON-RPC v2.0 request to retrieve the VMs resident on
@@ -619,7 +619,7 @@ connection, this can be done as follows:
619619
620620
Acquire a session reference by logging in with a username and password; the
621621
session reference is returned under the key `Value` in the resulting dictionary
622-
(error-handling ommitted for brevity):
622+
(error-handling omitted for brevity):
623623
624624
```python
625625
>>> session = xen.session.login_with_password("user", "passwd",

ocaml/vhd-tool/src/tar.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ The first and last blocks must be present. Readers expect the block size to be e
1919
## Omitting empty blocks
2020

2121
If it is known that a block is entirely empty (i.e. full of zeroes) then it may
22-
be ommitted from the stream *provided it is neither the first nor the last block*.
22+
be omitted from the stream *provided it is neither the first nor the last block*.
2323
The ommission is signaled by incrementing the counter value by 1 for every
24-
ommitted block.
24+
omitted block.
2525

2626
Example sequence 1:
2727

@@ -34,7 +34,7 @@ Example sequence 1:
3434
00000002.checksum
3535
```
3636

37-
no blocks have been ommitted, since the counter value increases by 1 each block.
37+
no blocks have been omitted, since the counter value increases by 1 each block.
3838

3939
Example sequence 2:
4040

@@ -45,7 +45,7 @@ Example sequence 2:
4545
00000002.checksum
4646
```
4747

48-
one block has been ommitted, since the counter value increased by 2.
48+
one block has been omitted, since the counter value increased by 2.
4949

5050
## Inserting dummy blocks
5151

ocaml/xapi/xapi_vm.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ let destroy ~__context ~self =
694694

695695
(* Note: we don't need to call lock_vm around clone or copy. The lock_vm just takes the local
696696
lock on a specific pool host and is used to manage contention between API threads and the
697-
event monitoring thread on live VMs. Since clone does not deal with live VMs we ommit lock_vm. *)
697+
event monitoring thread on live VMs. Since clone does not deal with live VMs we omit lock_vm. *)
698698

699699
let clone ~__context ~vm ~new_name =
700700
TaskHelper.set_cancellable ~__context ;

0 commit comments

Comments
 (0)