Skip to content

Commit

Permalink
fix: remove -kh args.
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasmakey committed May 9, 2024
1 parent 09014c9 commit 455b175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discovery/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ get_mem_info() {

# Function to get physical disk info
get_disk_info() {
disk_info=$(lsblk -dpno NAME,SIZE | awk '$2 != "0B" {print $1, $2}' | sort -k2 -rh | awk '{printf "\"%s\",", $1}' | sed 's/,$//')
disk_info=$(lsblk -dpno NAME,SIZE | awk '$2 != "0B" {print $1, $2}' | sort -k2 | awk '{printf "\"%s\",", $1}' | sed 's/,$//')
echo "[${disk_info}]"
}

Expand Down

0 comments on commit 455b175

Please sign in to comment.