Skip to content

Commit

Permalink
Fix: Validate storage ID location
Browse files Browse the repository at this point in the history
  • Loading branch information
N-o-Z committed Feb 6, 2025
1 parent 924e84c commit 33b4be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func (b *Blockstore) GetStorageIDs() []string {
}

func (b *Blockstore) GetStorageByID(id string) AdapterConfig {
if id != "" {
if id != SingleBlockstoreID {
return nil
}

Expand Down

0 comments on commit 33b4be6

Please sign in to comment.