Skip to content

Commit c080c0d

Browse files
dimuonCopilot
andauthored
Update internal/clients/elasticsearch/index.go
Co-authored-by: Copilot <[email protected]>
1 parent a9310c0 commit c080c0d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

internal/clients/elasticsearch/index.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -673,9 +673,7 @@ func UpdateAliasesAtomic(ctx context.Context, apiClient *clients.ApiClient, acti
673673
if action.Routing != "" {
674674
addDetails["routing"] = action.Routing
675675
}
676-
if action.IsHidden {
677-
addDetails["is_hidden"] = action.IsHidden
678-
}
676+
addDetails["is_hidden"] = action.IsHidden
679677

680678
aliasActions = append(aliasActions, map[string]interface{}{
681679
"add": addDetails,

0 commit comments

Comments
 (0)