Apply linter autofixes: internal/vaultik (refs #61)
This commit is contained in:
@@ -54,10 +54,13 @@ func (v *Vaultik) EnsureStorageBinding() error {
|
||||
}
|
||||
|
||||
if stored == "" {
|
||||
if err := v.Repositories.LocalMeta.Set(v.ctx, database.LocalMetaKeyStorageURL, configured); err != nil {
|
||||
err := v.Repositories.LocalMeta.Set(v.ctx, database.LocalMetaKeyStorageURL, configured)
|
||||
if err != nil {
|
||||
return fmt.Errorf("recording local storage binding: %w", err)
|
||||
}
|
||||
|
||||
log.Info("Bound local index to storage destination", "storage_url", configured)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user