diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-11-23 15:06:46 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-11-23 15:06:46 -0800 |
commit | a5a3bb1ec4e917f8043df721b59e0cd29ce8b009 (patch) | |
tree | ba88b1caa030846bada8e1a8bbb433a6b9c111b9 | |
parent | 08649a6f24790103a2a6fb4204c7c640397688eb (diff) | |
download | chef-a5a3bb1ec4e917f8043df721b59e0cd29ce8b009.tar.gz |
Revert "Updated the Regex as per review comment."
This reverts commit 159cb08880750fd72994ba69ca5e244b558a8bcc.
-rw-r--r-- | lib/chef/provider/mount/linux.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/mount/linux.rb b/lib/chef/provider/mount/linux.rb index 260c8f9349..bd1844e717 100644 --- a/lib/chef/provider/mount/linux.rb +++ b/lib/chef/provider/mount/linux.rb @@ -53,8 +53,8 @@ class Chef when %r{\A#{Regexp.escape(real_mount_point)}\s+([/\w])+\[#{device_mount_regex}\]\s} mounted = true logger.trace("Bind device #{device_logstring} mounted as #{real_mount_point}") - # Permalink for network device mounted to an existing mount point: https://rubular.com/r/JRTXXGFdQtwCD6 - when %r{\A#{Regexp.escape(real_mount_point)}\s+#{device_mount_regex}\[} + # Permalink for network device mounted to an existing mount point: https://rubular.com/r/HicK63SqchPLvk + when %r{\A#{Regexp.escape(real_mount_point)}\s+#{device_mount_regex}\[([\/\w])+\]\s} mounted = true logger.trace("Network device #{device_logstring} mounted as #{real_mount_point}") end |