lib/fs/MiqFS/modules/XFS.rb in manageiq-smartstate-0.2.10 vs lib/fs/MiqFS/modules/XFS.rb in manageiq-smartstate-0.2.11
- old
+ new
@@ -262,10 +262,10 @@
# Get an array of directory names, kill off the first (it's always empty).
names = p.split(/[\\\/]/)
names.shift
dir = ifs_getDirR(names, miqfs)
- raise "Directory '#{p}' not found" if dir.nil?
+ $log.info("Directory '#{p}' not found") if dir.nil?
dir
end
# Return Directory recursively for given directory or nil if not exist.
def ifs_getDirR(names, miqfs)