Skip to content

Commit

Permalink
refactor: re-order store declaration to match definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmypw committed Oct 27, 2024
1 parent e966d19 commit 5c961b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storage/memory/memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ type (
// New creates a new In-Mem storage
func New() storage.Storage {
store := &storageMem{
storePruneTimer: time.NewTicker(time.Minute),
store: make(map[string]memStorageSecret),
storePruneTimer: time.NewTicker(time.Minute),
}

go store.storePruner()
Expand Down

0 comments on commit 5c961b7

Please sign in to comment.