Skip to content

Commit 3ae530b

Browse files
committed
Fix function calls
1 parent 0fee6c9 commit 3ae530b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

export/export.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ func (e *Client) GetIndices(ctx context.Context, pattern string) ([]string, erro
113113
return client.GetIndices(ctx, pattern)
114114
case 8:
115115
client := e.client.(*elasticv8.Client)
116-
return client.GetIndices(pattern)
116+
return client.GetIndices(ctx, pattern)
117117
case 9:
118118
client := e.client.(*elasticv9.Client)
119-
return client.GetIndices(pattern)
119+
return client.GetIndices(ctx, pattern)
120120
default:
121121
return nil, errors.New("unsupported version")
122122
}

0 commit comments

Comments
 (0)