Skip to content

Commit

Permalink
Fixed minor spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nickanderson committed May 18, 2021
1 parent a920731 commit 4008287
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Expand Up @@ -16,7 +16,7 @@ See [`meta`][meta].

Variables in CFEngine are defined as promises that an identifier of a certain type represents a particular value. Variables can be scalars or lists of types string, int, real or data.

The allowed characters in variable names are alphanumeric (both upper and lower case) and undercore. Associative arrays using the string type and square brackets [] to enclose an arbitrary key are being deprecated in favor of the data variable type.
The allowed characters in variable names are alphanumeric (both upper and lower case) and underscore. Associative arrays using the string type and square brackets [] to enclose an arbitrary key are being deprecated in favor of the data variable type.

See `vars`.

Expand Down
6 changes: 3 additions & 3 deletions reference/enterprise-api-ref/cmdb-api.markdown
Expand Up @@ -232,7 +232,7 @@ HTTP 200 Ok
"My_class": {},
"My_class2": {
"comment":"comment body",
"tags": ["suggestion-001", "reportring"]
"tags": ["suggestion-001", "reporting"]
}
}
}
Expand All @@ -252,7 +252,7 @@ HTTP 200 Ok
"HubCMDB:My.hostname":{
"value":"host1.cfengine.com",
"comment":"My hostname should be set to this",
"tags": ["suggestion-001", "reportring"]
"tags": ["suggestion-001", "reporting"]
}
}
}
Expand All @@ -272,7 +272,7 @@ curl -k --user <username>:<password> \
"My_class": {},
"My_class2":{
"comment":"comment body",
"tags": ["suggestion-001", "reportring"]
"tags": ["suggestion-001", "reporting"]
}
},
"variables":{
Expand Down
2 changes: 1 addition & 1 deletion reference/promise-types/vars.markdown
Expand Up @@ -11,7 +11,7 @@ value. Variables can be scalars or lists of types `string`, `int`, `real`
or `data`.

The allowed characters in variable names are alphanumeric (both upper and lower case)
and undercore. `Associative` arrays using the string type and square brackets `[]` to
and underscore. `Associative` arrays using the string type and square brackets `[]` to
enclose an arbitrary key are being deprecated in favor of the `data` variable type.

## Scalar Variables
Expand Down

0 comments on commit 4008287

Please sign in to comment.