Skip to content

Commit

Permalink
Merge pull request #678 from penguincoder/opensearch-readiness-option
Browse files Browse the repository at this point in the history
Use cfg.settings instead for opensearch readiness check
  • Loading branch information
domenkozar authored Jun 21, 2023
2 parents 30964ec + c441cc3 commit c6ac4db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/services/opensearch.nix
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ in

process-compose = {
readiness_probe = {
exec.command = "${pkgs.curl}/bin/curl -f -k http://${cfg.listenAddress}:${toString cfg.port}";
exec.command = "${pkgs.curl}/bin/curl -f -k http://${cfg.settings."network.host"}:${toString cfg.settings."http.port"}";
initial_delay_seconds = 15;
period_seconds = 10;
timeout_seconds = 2;
Expand Down

0 comments on commit c6ac4db

Please sign in to comment.