Skip to content

Commit

Permalink
Linter fixes - unused parameters don't get symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorenz Kästle committed Nov 25, 2024
1 parent 2277783 commit c4df18b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/filesystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ var diskCmd = &cobra.Command{
\_ [OK] Percentage of used space: 48.05%
\_ [OK] Percentage of used inodes: 5.23%
|/_inodes_free_percentage=82.688% /_space_free=33146855424B;@40;@20;0;62669000704 /_space_used=26305536000B;40;20;0;62669000704 /_inodes_free=3231100;;@200;0;3907584 /_inodes_used=676484;;@400;0;3907584 /_space_free_percentage=55.754%;60;30 /_space_used_percentage=44.246%;@20:40;@20 /_inodes_used_percentage=17.312%;99;98 /boot_inodes_free_percentage=99.718% /boot_space_free=173091840B;@40;@20;0;493201408 /boot_space_used=294524928B;40;20;0;493201408 /boot_inodes_free=124576;;@200;0;124928 /boot_inodes_used=352;;@400;0;124928 /boot_space_free_percentage=37.016%;60;30 /boot_space_used_percentage=62.984%;@20:40;@20 /boot_inodes_used_percentage=0.282%;99;98 /var_inodes_free_percentage=92.832% /var_space_free=141826428928B;@40;@20;0;250843787264 /var_space_used=96200613888B;40;20;0;250843787264 /var_inodes_free=14510026;;@200;0;15630336 /var_inodes_used=1120310;;@400;0;15630336 /var_space_free_percentage=59.584%;60;30 /var_space_used_percentage=40.416%;@20:40;@20 /var_inodes_used_percentage=7.168%;99;98 /home_inodes_free_percentage=94.768% /home_space_free=247921197056B;@40;@20;0;502813065216 /home_space_used=229275156480B;40;20;0;502813065216 /home_inodes_free=29617311;;@200;0;31252480 /home_inodes_used=1635169;;@400;0;31252480 /home_space_free_percentage=51.954%;60;30 /home_space_used_percentage=48.046%;@20:40;@20 /home_inodes_used_percentage=5.232%;99;98`,
Run: func(cmd *cobra.Command, args []string) {
Run: func(_ *cobra.Command, args []string) {

overall := result.Overall{}

Expand Down
2 changes: 1 addition & 1 deletion cmd/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var loadCmd = &cobra.Command{
\_ [OK] 5 minute average: 0.21
\_ [OK] 15 minute average: 0.25
|load1=0.1;2;;0 load5=0.21;;;0 load15=0.25;;;0`,
Run: func(cmd *cobra.Command, args []string) {
Run: func(_ *cobra.Command, args []string) {
loadStats, err := load.GetActualLoadValues()
if err != nil {
check.ExitError(err)
Expand Down
2 changes: 1 addition & 1 deletion cmd/memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var memoryCmd = &cobra.Command{
\_ [OK] Swap Usage 0.00% (0 B / 36 GiB)
|available_memory_percentage=74.36%;15:100;5:100 available_memory=24856633344B;10:20;;0;33427595264 free_memory=16696102912B;;;0;33427595264 free_memory_percentage=49.947%;;50:80 used_memory=6542696448B;@10;;0;33427595264 free_memory_percentage=19.573% swap_usage_percent=0%;20;85 swap_used=0B;;;0;38654701568
`,
Run: func(cmd *cobra.Command, args []string) {
Run: func(_ *cobra.Command, args []string) {

var overall result.Overall

Expand Down

0 comments on commit c4df18b

Please sign in to comment.