Skip to content

Commit

Permalink
Fixed Sanity Issue in SMB file (dell#120)
Browse files Browse the repository at this point in the history
* Fixed Sanity Issue

* Fixed Sanity Issue
  • Loading branch information
meenakshidembi691 authored Oct 14, 2024
1 parent e6b5751 commit a0fc3a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/modules/smb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a0fc3a6

Please sign in to comment.