dhiaayachi / consul

Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
https://www.consul.io
Other
0 stars 0 forks source link

Change logging of registered v2 resource endpoints to add /api prefix #1260

Open dhiaayachi opened 1 month ago

dhiaayachi commented 1 month ago

Previous:

agent.http: Registered resource endpoint: endpoint=/demo/v1/executive

New:

agent.http: Registered resource endpoint: endpoint=/api/demo/v1/executive

This reduces confusion when attempting to call the APIs after looking at the logs.

Fixing failed backport (https://github.com/hashicorp/consul/pull/20354)