Skip to content

Commit 149fbb6

Browse files
Remove syntax error from doc fragment for injection (#596)
## 📝 Description **What does this PR do and why is this change necessary?** Removes a whitespace from the doc causing injection errors.
1 parent 9aa32d9 commit 149fbb6

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

docs/modules/instance.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Manage Linode Instances, Configs, and Disks.
103103
label: my-linode
104104
type: g6-nanode-1
105105
region: us-east
106-
placement_group:
106+
placement_group:
107107
id: 123
108108
compliant_only: false
109109
state: present
@@ -350,14 +350,14 @@ Manage Linode Instances, Configs, and Disks.
350350
"type": "g6-standard-1",
351351
"updated": "2018-01-01T00:01:01",
352352
"watchdog_enabled": true,
353+
"disk_encryption": "enabled",
354+
"lke_cluster_id": null,
353355
"placement_group": {
354356
"id": 123,
355357
"label": "test",
356358
"placement_group_type": "anti_affinity:local",
357359
"placement_group_policy": "strict"
358360
}
359-
"disk_encryption": "enabled",
360-
"lke_cluster_id": null
361361
}
362362
```
363363
- See the [Linode API response documentation](https://techdocs.akamai.com/linode-api/reference/get-linode-instance) for a list of returned fields

docs/modules/instance_info.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@ Get info about a Linode Instance.
8383
"type": "g6-standard-1",
8484
"updated": "2018-01-01T00:01:01",
8585
"watchdog_enabled": true,
86+
"disk_encryption": "enabled",
87+
"lke_cluster_id": null,
8688
"placement_group": {
8789
"id": 123,
8890
"label": "test",
8991
"placement_group_type": "anti_affinity:local",
9092
"placement_group_policy": "strict"
9193
}
92-
"disk_encryption": "enabled",
93-
"lke_cluster_id": null
9494
}
9595
```
9696
- See the [Linode API response documentation](https://techdocs.akamai.com/linode-api/reference/get-linode-instance) for a list of returned fields

plugins/module_utils/doc_fragments/instance.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
label: my-linode
7878
type: g6-nanode-1
7979
region: us-east
80-
placement_group:
80+
placement_group:
8181
id: 123
8282
compliant_only: false
8383
state: present''', '''
@@ -129,14 +129,14 @@
129129
"type": "g6-standard-1",
130130
"updated": "2018-01-01T00:01:01",
131131
"watchdog_enabled": true,
132+
"disk_encryption": "enabled",
133+
"lke_cluster_id": null,
132134
"placement_group": {
133135
"id": 123,
134136
"label": "test",
135137
"placement_group_type": "anti_affinity:local",
136138
"placement_group_policy": "strict"
137139
}
138-
"disk_encryption": "enabled",
139-
"lke_cluster_id": null
140140
}''']
141141

142142
result_configs_samples = ['''[

0 commit comments

Comments
 (0)