Skip to content

Commit

Permalink
Fixed IndexAdd related backend args
Browse files Browse the repository at this point in the history
Signed-off-by: sh4n3e <[email protected]>
  • Loading branch information
sh4n3e committed Sep 19, 2024
1 parent e1317ce commit 60f6717
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/index/add/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ func (o *IndexAddOptions) RunIndexAdd(ctx context.Context, args []string) error
if len(args) == 3 {
backend = args[2]
} else if len(args) == 4 {
backend = args[2]
token = args[3]
}

Expand Down

0 comments on commit 60f6717

Please sign in to comment.