You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could understand that checkIDs must be unique and that the Re register fails, but the service should not be entirely deregistred, (I guess it should be left intact)
The text was updated successfully, but these errors were encountered:
List existing services :
$> curl -sS 127.0.0.1:8500/v1/agent/services | jq .
{
"service1": {
"Port": 8080,
"Tags": [
"tag1"
],
"Service": "service1",
"ID": "service1"
}
}
Re register the service again,changing something or not, but including the existing check :
$> curl -X PUT 127.0.0.1:8500/v1/agent/service/register -d '
{
"Name": "service1",
"Tags": [
"tag2"
],
"Port": 8080,
"Check": {
"Script": "curl -sS localhost:8080/status",
"Interval": "60s"
}
}'
CheckID is already registered
List existing services :
$> curl -sS 127.0.0.1:8500/v1/agent/services | jq .
{}
I could understand that checkIDs must be unique and that the Re register fails, but the service should not be entirely deregistred, (I guess it should be left intact)
The text was updated successfully, but these errors were encountered: