Skip to content

Commit

Permalink
Added TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ancorgs committed Jan 9, 2018
1 parent 6c06257 commit 7186ccd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/y2storage/mountable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ def mountpoint=(path)
# @return [Boolean] true if the mount point is saved to /etc/fstab
# (and will be mounted at boot again), false otherwise
def persistent?
# TODO: this implementation needs to be adapted after adding the Y2Storage
# wrapper for Storage::MountPoint
to_storage_value.has_mount_point && to_storage_value.mount_point.in_etc_fstab?
end

Expand Down

0 comments on commit 7186ccd

Please sign in to comment.