Skip to content

Commit

Permalink
elasticsearch changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce.wu committed Dec 3, 2024
1 parent cc17eaa commit e2e47eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configops/changelog/elasticsearch_change.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,14 +294,14 @@ def apply(
body=body,
headers={"Content-Type": "application/json"},
)
change["sucess"] = True
change["success"] = True
change["message"] = f"{resp}"
except Exception as e:
logger.error(
f"Execute elastic request error. changeSetId: {id}, path: {path}, method: {method}. {e}",
exc_info=True,
)
change["sucess"] = False
change["success"] = False
change["message"] = f"{e}"
raise ConfigOpsException(
f"Execute elastic request error. changeSetId: {id}, path: {path}, method: {method}. {e}"
Expand Down

0 comments on commit e2e47eb

Please sign in to comment.