nuts-foundation/nuts-node

View on GitHub
storage/leia.go

Summary

Maintainability
A
1 hr
Test Coverage
C
71%

Method kvBackedLeiaStore.handleRestore has 56 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (k *kvBackedLeiaStore) handleRestore(config LeiaBackupConfiguration) error {
    backupPresent := k.backupStorePresent(config.BackupShelf)
    collection := k.store.Collection(config.CollectionType, config.CollectionName)

    storePresent := storePresent(collection, config)
Severity: Minor
Found in storage/leia.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status