Skip to content

Commit b051d7b

Browse files
authored
Merge pull request #166 from meilisearch/remove_put_health_route
Remove the PUT /health routes
2 parents 6907ca0 + 544846b commit b051d7b

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

.code-samples.meilisearch.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,6 @@ get_indexes_stats_1: |-
154154
client.get_all_stats()
155155
get_health_1: |-
156156
client.health()
157-
update_health_1: |-
158-
client.update_health()
159157
get_version_1: |-
160158
clien.get_version()
161159
get_pretty_sys_info_1: |-

meilisearch/client.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -132,18 +132,6 @@ def health(self):
132132
"""
133133
return self.http.get(self.config.paths.health)
134134

135-
def update_health(self, health):
136-
"""Update health of meilisearch
137-
138-
Update health of MeiliSearch to true or false.
139-
140-
Parameters
141-
----------
142-
health: bool
143-
Boolean representing the health status of MeiliSearch. True for healthy.
144-
"""
145-
return self.http.put(self.config.paths.health, {'health': health})
146-
147135
def get_keys(self):
148136
"""Get all keys created
149137

0 commit comments

Comments
 (0)