Skip to content

Commit

Permalink
fix: Add index to unpublished operation store
Browse files Browse the repository at this point in the history
Add index to unpublished operation store

Closes #931

Signed-off-by: Sandra Vrtikapa <sandra.vrtikapa@securekey.com>
  • Loading branch information
sandrask committed Dec 9, 2021
1 parent 385b5de commit 1147985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/store/operation/unpublished/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func New(provider storage.Provider, unpublishedOperationLifespan time.Duration,
return nil, fmt.Errorf("failed to open unpublished operation store: %w", err)
}

err = provider.SetStoreConfig(nameSpace, storage.StoreConfiguration{TagNames: []string{expiryTagName}})
err = provider.SetStoreConfig(nameSpace, storage.StoreConfiguration{TagNames: []string{expiryTagName, index}})
if err != nil {
return nil, fmt.Errorf("failed to set store configuration on unpublished operation store: %w", err)
}
Expand Down

0 comments on commit 1147985

Please sign in to comment.