Closed dineshbaburam91 closed 4 months ago
warning: there is an error in the proposed fix
- self._pyez_conn.commit_configuration(ignore_warning, comment, timeout, confirmed, full, sync, force_sync)
+ self._pyez_conn.commit_configuration(ignore_warning=ignore_warning,
+ comment=comment,
+ confirm=confirmed,
+ timeout=timeout,
+ full=full,
+ force_sync=force_sync,
+ sync=sync)
the confirm parameter must be named confirmed like the commit_configuration function definition. Otherwise otherwise it raises an error "ansible.module_utils.connection.ConnectionError: Connection.commit_configuration() got an unexpected keyword argument 'confirm'"
My bad typo error, I will fix it.
Issue:
PyEZ connection commit_configuration API parameter data are mismatched. So it impacts commit RPC when the commit operation is performed.
Fix:
I updated the valid parameter in commit_configuration API The output log is below.