mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-05 04:39:43 +00:00
handle failed snapshot created
This commit is contained in:
@@ -150,7 +150,7 @@ class ElasticSnapshot:
|
||||
if statuscode == 200:
|
||||
print(f"snapshot: executing now: {response}")
|
||||
|
||||
if wait:
|
||||
if wait and "snapshot_name" in response:
|
||||
self._wait_for_snapshot(response["snapshot_name"])
|
||||
|
||||
return response
|
||||
|
||||
Reference in New Issue
Block a user