Skip to content

Commit

Permalink
service: Use display_name
Browse files Browse the repository at this point in the history
  • Loading branch information
joseivanlopez committed Mar 8, 2024
1 parent 19f769a commit ba93043
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/lib/agama/dbus/storage/interfaces/device/device.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ def device_sid
storage_device.sid
end

# Name of the device.
# Name to represent the device.
#
# @return [String] e.g., "/dev/sda".
def device_name
storage_device.name
storage_device.display_name || ""
end

# Description of the device.
Expand Down

0 comments on commit ba93043

Please sign in to comment.