From 217948ade62c91cbd7f675bc3b911c93e17a4eb3 Mon Sep 17 00:00:00 2001 From: eleksir Date: Tue, 31 Mar 2026 00:49:52 +0300 Subject: [PATCH] Inconsistent variable name in ifmon.go --- internal/lib/ifmon.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/lib/ifmon.go b/internal/lib/ifmon.go index 7d67012..5cc1c44 100644 --- a/internal/lib/ifmon.go +++ b/internal/lib/ifmon.go @@ -44,8 +44,8 @@ func (c *MyConfig) UpdateIfStatus() { } else { switch strings.TrimSpace(string(operstate)) { case "up": - StatusStr := fmt.Sprintf("⍋", c.NetIf.UpColor) - operstate = []byte(StatusStr) + statusStr := fmt.Sprintf("⍋", c.NetIf.UpColor) + operstate = []byte(statusStr) case "down": statusStr := fmt.Sprintf("⍒", c.NetIf.DownColor) operstate = []byte(statusStr)