Skip to content

Commit f52c5b3

Browse files
authoredFeb 10, 2021
Add log for secret stores that are referenced but aren't loaded (dapr#2791)
1 parent 8b35787 commit f52c5b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎pkg/runtime/runtime.go

+1
Original file line numberDiff line numberDiff line change
@@ -1448,6 +1448,7 @@ func (a *DaprRuntime) processComponentSecrets(component components_v1alpha1.Comp
14481448
secretStoreName := a.authSecretStoreOrDefault(component)
14491449
secretStore := a.getSecretStore(secretStoreName)
14501450
if secretStore == nil {
1451+
log.Warnf("component %s references a secret store that isn't loaded: %s", component.Name, secretStoreName)
14511452
return component, secretStoreName
14521453
}
14531454

0 commit comments

Comments
 (0)
Please sign in to comment.