优化结构

This commit is contained in:
Yvan
2026-08-28 16:23:52 +08:00
parent 9b1daaf3f6
commit 295ee5c49e
24 changed files with 128 additions and 145 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ func (t *ConnectivityTester) restoreMaskedSecrets(kind, provider string, values
}
for key := range masked {
value, _ := values[key].(string)
if strings.TrimSpace(value) != config.MaskedSecret {
if !config.IsMaskedSecret(strings.TrimSpace(value)) {
continue
}
prior, _ := currentValues[key].(string)