Skip to content
Snippets Groups Projects
Verified Commit 6630b437 authored by Malte Bauch's avatar Malte Bauch
Browse files

Linter pleasing

parent f4bb0876
No related branches found
No related tags found
1 merge request!253Initialize AssignForwardingHandler and KeyStoreHandler
Pipeline #262623 failed
This commit is part of merge request !253. Comments created here will be created in the context of that merge request.
......@@ -71,7 +71,7 @@ func (ks *KmsKeyStore) AddKey(keyId uuid.UUID, keyToAdd []byte) error {
go func() {
err := ks.eventBus.Publish(event.NewKeyStoreEvent())
if err != nil {
log.Errorf("Publishing a key store update through the eventBus failed, err: %w", err)
log.Errorf("Publishing a key store update through the eventBus failed, err: %s", err)
}
}()
return nil
......@@ -97,7 +97,7 @@ func (ks *KmsKeyStore) AddKeys(keys map[uuid.UUID][]byte) error {
go func() {
err := ks.eventBus.Publish(event.NewKeyStoreEvent())
if err != nil {
log.Errorf("Publishing a key store update through the eventBus failed, err: %w", err)
log.Errorf("Publishing a key store update through the eventBus failed, err: %s", err)
}
}()
return nil
......@@ -142,7 +142,7 @@ func (ks *KmsKeyStore) DeleteKey(keyId uuid.UUID) {
go func() {
err := ks.eventBus.Publish(event.NewKeyStoreEvent())
if err != nil {
log.Errorf("Publishing a key store update through the eventBus failed, err: %w", err)
log.Errorf("Publishing a key store update through the eventBus failed, err: %s", err)
}
}()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment