Refine metadata update check

This commit is contained in:
Jonny Rimek 2026-01-21 12:13:03 +01:00
parent e37719f0c3
commit 1ef279f6b8
1 changed files with 5 additions and 1 deletions

View File

@ -445,8 +445,12 @@ func needsMetadataUpdate(current map[string]string, desired map[string]string) b
return false
}
if current == nil {
return true
}
for key, value := range desired {
if current == nil || current[key] != value {
if current[key] != value {
return true
}
}