-
Notifications
You must be signed in to change notification settings - Fork 145
Closed
Description
Updating the name or description on an existing project is resulting in None being returned by the helper's patch_object() method.
Here's the error message returned by the module:
The full traceback is:
Traceback (most recent call last):
File "/var/folders/g_/mr68c1yn1rl4b7qh6pntbmmm0000gn/T/ansible_u9htzn/ansible_module_k8s_v1_project.py", line 330, in <module>
main()
File "/var/folders/g_/mr68c1yn1rl4b7qh6pntbmmm0000gn/T/ansible_u9htzn/ansible_module_k8s_v1_project.py", line 324, in main
module.execute_module()
File "/var/folders/g_/mr68c1yn1rl4b7qh6pntbmmm0000gn/T/ansible_u9htzn/ansible_modlib.zip/ansible/module_utils/k8s_common.py", line 183, in execute_module
AttributeError: 'NoneType' object has no attribute 'to_dict'
fatal: [localhost]: FAILED! => {
"changed": false,
"failed": true,
"module_stderr": "Traceback (most recent call last):\n File \"/var/folders/g_/mr68c1yn1rl4b7qh6pntbmmm0000gn/T/ansible_u9htzn/ansible_module_k8s_v1_project.py\", line 330, in <module>\n main()\n File \"/var/folders/g_/mr68c1yn1rl4b7qh6pntbmmm0000gn/T/ansible_u9htzn/ansible_module_k8s_v1_project.py\", line 324, in main\n module.execute_module()\n File \"/var/folders/g_/mr68c1yn1rl4b7qh6pntbmmm0000gn/T/ansible_u9htzn/ansible_modlib.zip/ansible/module_utils/k8s_common.py\", line 183, in execute_module\nAttributeError: 'NoneType' object has no attribute 'to_dict'\n",
"module_stdout": "",
"msg": "MODULE FAILURE",
"rc": 0
}
Metadata
Metadata
Assignees
Labels
No labels