Use new range syntax

pull/378/head
Svilen Markov 2025-02-27 07:11:44 +07:00
parent 19a89645a1
commit 5d12d934b8
1 changed files with 1 additions and 1 deletions

@ -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
}