mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
Remove unusued params and functions (#8399)
This commit is contained in:
@@ -87,7 +87,7 @@ func (store *QueueStore) Open() error {
|
||||
}
|
||||
|
||||
// write - writes event to the directory.
|
||||
func (store *QueueStore) write(directory string, key string, e event.Event) error {
|
||||
func (store *QueueStore) write(key string, e event.Event) error {
|
||||
|
||||
// Marshalls the event.
|
||||
eventData, err := json.Marshal(e)
|
||||
@@ -117,7 +117,7 @@ func (store *QueueStore) Put(e event.Event) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return store.write(store.directory, key, e)
|
||||
return store.write(key, e)
|
||||
}
|
||||
|
||||
// Get - gets a event from the store.
|
||||
|
||||
Reference in New Issue
Block a user