Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
Signed-off-by: pritamdas99 <[email protected]>
  • Loading branch information
pritamdas99 committed May 14, 2024
1 parent 4368f5e commit 91ae798
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions solr/solr.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package solr

import (
"context"
"fmt"
)

Expand Down Expand Up @@ -121,9 +120,9 @@ func (sc *SLClient) ReadCollection() (*Response, error) {
return writeResponse, nil
}

func (sc *SLClient) BackupRestoreCollection(ctx context.Context, action string, collection string, backupName string, location string, repository string) (*Response, error) {
func (sc *SLClient) BackupRestoreCollection(action string, collection string, backupName string, location string, repository string) (*Response, error) {
sc.Config.log.V(5).Info(fmt.Sprintf("BACKUP COLLECTION: %s", collection))
req := sc.Client.R()
req := sc.Client.R().SetDoNotParseResponse(true)
params := map[string]string{
"action": action,
"collection": collection,
Expand Down

0 comments on commit 91ae798

Please sign in to comment.