优化结构
This commit is contained in:
@@ -10,7 +10,9 @@ state, or translate provider-specific protocols into `biz` interfaces.
|
||||
- `email`: SMTP email repository.
|
||||
- `mq`: reloadable EMQX/MQTT and RabbitMQ/AMQP clients exposed through the shared `pkg/mq` interface.
|
||||
- `payment`: payment-channel SDKs and callback/signature handling.
|
||||
- `runtimeconfig`: runtime integration configuration store and subscriptions.
|
||||
- `storage`: local and object-storage implementations of `biz.FileStorage`.
|
||||
- `systeminfo`: system information integration helpers.
|
||||
- `websocket`: reloadable Melody endpoint exposed through the shared
|
||||
`pkg/websocket` wrapper.
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user