Skip to content

Commit

Permalink
Fix typo in validation message
Browse files Browse the repository at this point in the history
  • Loading branch information
anodos325 committed Nov 16, 2024
1 parent fd1e315 commit 0c428c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/smb.py
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,7 @@ def get_acl_type(sb_info):

this_mnt = getmnttree(st['mount_id'])
if this_mnt['fs_type'] != 'zfs':
verrors.add(schema, f'{this_mnt["fstype"]}: path is not a ZFS dataset')
verrors.add(schema, f'{this_mnt["fs_type"]}: path is not a ZFS dataset')

if not is_child_realpath(path, this_mnt['mountpoint']):
verrors.add(
Expand Down

0 comments on commit 0c428c5

Please sign in to comment.