created common.py for extracting deep comparision function. #11

Merged
PeterSurda merged 1 commits from shailaja/ansible-modules-syncthing:common_file into master 2024-06-10 15:38:52 +02:00
Member

closes #10

closes #10
shailaja requested review from PeterSurda 2024-06-04 02:18:48 +02:00
shailaja requested review from swapnil 2024-06-04 02:18:48 +02:00
PeterSurda requested changes 2024-06-04 02:36:10 +02:00
Dismissed
@ -151,11 +151,9 @@ response:
'''
from ansible_collections.community.syncthing.plugins.module_utils.syncthing_api import SyncthingModule
from common.py import deep_equal
Owner

due to how ansible loads modules, this needs to have a different format, I think the correct one is:

from ansible_collections.community.syncthing.plugins.module_utils.common import deep_equal

due to how ansible loads modules, this needs to have a different format, I think the correct one is: `from ansible_collections.community.syncthing.plugins.module_utils.common import deep_equal`
PeterSurda marked this conversation as resolved
shailaja force-pushed common_file from 7f340539db to 00cfcd42a6 2024-06-06 06:30:52 +02:00 Compare
shailaja requested review from PeterSurda 2024-06-06 06:32:09 +02:00
PeterSurda requested changes 2024-06-06 06:56:29 +02:00
Dismissed
@ -151,11 +151,9 @@ response:
'''
from ansible_collections.community.syncthing.plugins.module_utils.syncthing_api import SyncthingModule
from common.py import deep_equalfrom ansible_collections.community.syncthing.plugins.module_utils.common import get_changes
Owner

This doesn't look syntactically correct

This doesn't look syntactically correct
shailaja force-pushed common_file from b55ace242a to 4b476a8c3d 2024-06-06 07:07:53 +02:00 Compare
PeterSurda approved these changes 2024-06-10 15:38:44 +02:00
PeterSurda merged commit 4b476a8c3d into master 2024-06-10 15:38:52 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Sysdeploy/ansible-modules-syncthing#11
No description provided.