Skip to content

Commit a070fb5

Browse files
authored
Fix clientFactory build issue (#3904)
1 parent ca5be29 commit a070fb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service/frontend/adminHandler.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ func (adh *AdminHandler) addSearchAttributesSQL(
325325
request *adminservice.AddSearchAttributesRequest,
326326
currentSearchAttributes searchattribute.NameTypeMap,
327327
) error {
328-
client, err := adh.clientFactory.NewLocalFrontendClientWithTimeout(
328+
_, client, err := adh.clientFactory.NewLocalFrontendClientWithTimeout(
329329
frontend.DefaultTimeout,
330330
frontend.DefaultLongPollTimeout,
331331
)
@@ -448,7 +448,7 @@ func (adh *AdminHandler) removeSearchAttributesSQL(
448448
ctx context.Context,
449449
request *adminservice.RemoveSearchAttributesRequest,
450450
) error {
451-
client, err := adh.clientFactory.NewLocalFrontendClientWithTimeout(
451+
_, client, err := adh.clientFactory.NewLocalFrontendClientWithTimeout(
452452
frontend.DefaultTimeout,
453453
frontend.DefaultLongPollTimeout,
454454
)

0 commit comments

Comments
 (0)