From 5d12d934b83b7d56f5732821b4add7453712a8f5 Mon Sep 17 00:00:00 2001 From: Svilen Markov <7613769+svilenmarkov@users.noreply.github.com> Date: Thu, 27 Feb 2025 07:11:44 +0000 Subject: [PATCH] Use new range syntax --- internal/glance/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/glance/config.go b/internal/glance/config.go index e77dba8..2d3cdba 100644 --- a/internal/glance/config.go +++ b/internal/glance/config.go @@ -315,7 +315,7 @@ func configFilesWatcher( // wait for file to maybe get created again // see https://github.com/glanceapp/glance/pull/358 - for i := 0; i < 10; i++ { + for range 10 { if _, err := os.Stat(event.Name); err == nil { break }