mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
B #3127 Remove status handling from filesystem code
(cherry picked from commit 81457303b38b6a74aae4fa241ca6957de9cb79d3)
This commit is contained in:
parent
73ff19b7aa
commit
7b829d1950
@ -139,7 +139,7 @@ class Mapper
|
||||
|
||||
fstype = get_fstype(device)
|
||||
|
||||
return unless reset_fs_uuid(fstype, device)
|
||||
reset_fs_uuid(fstype, device)
|
||||
|
||||
mount_resize_fs(device, directory, fstype, disk)
|
||||
end
|
||||
@ -521,10 +521,9 @@ class Mapper
|
||||
end
|
||||
|
||||
rc, o, e = Command.execute(cmd, false)
|
||||
return true if rc.zero?
|
||||
return if rc.zero?
|
||||
|
||||
OpenNebula.log_error "#{__method__}: error changing UUID: #{o}\n#{e}\n"
|
||||
false
|
||||
end
|
||||
|
||||
def get_fstype(device)
|
||||
|
Loading…
x
Reference in New Issue
Block a user