Skip to content

Commit 12ff2b7

Browse files
committed
Fix several text
1 parent 299b603 commit 12ff2b7

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

merizrizal/idcloudhost/plugins/modules/create_network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def main(self):
109109
error=data
110110
)
111111

112-
module.fail_json(msg='Create network fail', **result)
112+
module.fail_json(msg='Failed to create the VPC network.', **result)
113113
else:
114114
result = dict(
115115
uuid=data['uuid'],

merizrizal/idcloudhost/plugins/modules/create_vm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def main(self):
194194
error=f'Selected os_name is {os_name} then os_version must be one of {os_version_choices[os_name]}, got {os_version}'
195195
)
196196

197-
module.fail_json(msg='Create VM fail', **result)
197+
module.fail_json(msg='Failed to create the VM.', **result)
198198

199199
url = f'{self.base_url}/{self.location}/{self.endpoint_url}'
200200
url_headers = {
@@ -222,7 +222,7 @@ def main(self):
222222
error=data
223223
)
224224

225-
module.fail_json(msg='Create VM fail', **data)
225+
module.fail_json(msg='Failed to create the VM.', **data)
226226
else:
227227
result = dict(
228228
uuid=data['uuid'],

merizrizal/idcloudhost/plugins/modules/get_network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def main(self):
9797
error=data
9898
)
9999

100-
module.fail_json(msg='Get network fail', **result)
100+
module.fail_json(msg='Failed to get the VPC network.', **result)
101101
else:
102102
for value in data:
103103
if value['is_default']:

merizrizal/idcloudhost/plugins/modules/get_public_ip.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def main(self):
132132
error=data
133133
)
134134

135-
module.fail_json(msg='Get public IPv4 fail', **result)
135+
module.fail_json(msg='Failed to get the public IPv4 address.', **result)
136136
else:
137137
result = dict(
138138
error='Public IPv4 address is not found'
@@ -156,7 +156,7 @@ def main(self):
156156

157157
module.exit_json(**result)
158158

159-
module.fail_json(msg='Get public IPv4 fail', **result)
159+
module.fail_json(msg='Failed to get the public IPv4 address', **result)
160160

161161

162162
if __name__ == '__main__':

0 commit comments

Comments
 (0)