paymentsdb: rename defaultKVStoreOptions func
We rename the modifier to use the same naming as used in the graphDB to align the codebase.
This commit is contained in:
2 files changed
+9
-8
No files matched your search
@@ -10,6 +10,14 @@ type StoreOptions struct {
|
||||
KeepFailedPaymentAttempts bool
|
||||
}
|
||||
|
||||
// DefaultOptions returns a StoreOptions populated with default values.
|
||||
func DefaultOptions() *StoreOptions {
|
||||
return &StoreOptions{
|
||||
KeepFailedPaymentAttempts: false,
|
||||
NoMigration: false,
|
||||
}
|
||||
}
|
||||
|
||||
// OptionModifier is a function signature for modifying the default
|
||||
// StoreOptions.
|
||||
type OptionModifier func(*StoreOptions)
|
||||
|
||||
Reference in new issue
Block a user