mirror of https://github.com/hashicorp/consul
650e48624d
Peerings are terminated when a peer decides to delete the peering from their end. Deleting a peering sends a termination message to the peer and triggers them to mark the peering as terminated but does NOT delete the peering itself. This is to prevent peerings from disappearing from both sides just because one side deleted them. Previously the Delete endpoint was skipping the deletion if the peering was not marked as active. However, terminated peerings are also inactive. This PR makes some updates so that peerings marked as terminated can be deleted by users. |
||
---|---|---|
.. | ||
service.go | ||
service_oss_test.go | ||
service_test.go | ||
testing.go | ||
testutil_oss_test.go | ||
validate.go | ||
validate_test.go |