Skip to content

Commit 9f2fcf7

Browse files
committed
fix typos
1 parent 659a0cb commit 9f2fcf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: indexer.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func FindPhysicalIndexes(url string, alias string) []string {
9797
return indexes
9898
}
9999

100-
// CleanupIndexes remover all indexes that are older than the currently active index
100+
// CleanupIndexes removes all indexes that are older than the currently active index
101101
func CleanupIndexes(url string, alias string) error {
102102
// find our current indexes
103103
currents := FindPhysicalIndexes(url, alias)
@@ -107,7 +107,7 @@ func CleanupIndexes(url string, alias string) error {
107107
return nil
108108
}
109109

110-
// find all the current indexer
110+
// find all the current indexes
111111
healthResponse := healthResponse{}
112112
_, err := MakeJSONRequest(http.MethodGet, fmt.Sprintf("%s/%s", url, "_cluster/health?level=indices"), "", &healthResponse)
113113
if err != nil {

0 commit comments

Comments
 (0)