Skip to content

Commit

Permalink
refactor: simplify storage information display
Browse files Browse the repository at this point in the history
The code in `info_messages.sh` has been refactored to improve the readability and conciseness of the storage information display. The labels for total and used space have been shortened to "Total" and "Used" respectively.
  • Loading branch information
dgibbs64 committed Oct 1, 2023
1 parent 19cb223 commit ee738a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lgsm/modules/info_messages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ fn_info_message_server_resource() {
{
echo -e "${bold}${lightyellow}Storage${default}"
echo -e "${lightblue}Filesystem:\t${default}${filesystem}"
echo -e "${lightblue}Total:\t\t${default}${totalspace}"
echo -e "${lightblue}Used:\t\t${default}${usedspace}"
echo -e "${lightblue}Total:\t${default}${totalspace}"
echo -e "${lightblue}Used:\t${default}${usedspace}"
echo -e "${lightblue}Available:\t${default}${availspace}"
} | column -s $'\t' -t
echo -e ""
Expand Down

0 comments on commit ee738a6

Please sign in to comment.