Skip to content

Comments

fix: Convert from check.Script to check.Args for Consul API changes#670

Closed
ghost wants to merge 2 commits intomasterfrom
unknown repository
Closed

fix: Convert from check.Script to check.Args for Consul API changes#670
ghost wants to merge 2 commits intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Nov 20, 2019

This PR incorporates the changes from GH-643

"Consul 1.0.7 was the last version to support the string Script API, which had been long deprecated. 1.1.0 and later use []string Args. This PR updates Consul support to this new property."

I have compiled and tested and can confirm the Registrator SERVICE_*_CHECK_SCRIPT environment param works with Consol 1.6.1 with the below changes.

credit to @jhsolor

@ghost ghost mentioned this pull request Nov 20, 2019
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants