From a0fc3a62ea3cd9cc62cdfa20ee720c79a0cdc97a Mon Sep 17 00:00:00 2001 From: meenakshidembi691 <83949068+meenakshidembi691@users.noreply.github.com> Date: Mon, 14 Oct 2024 12:54:20 +0530 Subject: [PATCH] Fixed Sanity Issue in SMB file (#120) * Fixed Sanity Issue * Fixed Sanity Issue --- plugins/modules/smb.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/modules/smb.py b/plugins/modules/smb.py index 69e84fd..75c1674 100644 --- a/plugins/modules/smb.py +++ b/plugins/modules/smb.py @@ -1669,7 +1669,8 @@ def handle(self, smb_obj, smb_params, smb_details): path = smb_params['path'] access_zone = smb_params['access_zone'] if state == 'present' and not smb_details: - LOG.info(f"Creating a new SMB share {0}".format(smb_params['share_name'])) + info_msg = f"Creating a new SMB share {smb_params['share_name']}" + LOG.info(info_msg) smb_obj.validate_path(path) smb_details = smb_obj.create_smb_share() if smb_details: