open-consul/agent/rpc/peering
freddygv 19f25fc3a5 Allow terminated peerings to be deleted
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.
2022-08-26 10:52:47 -06:00
..
service.go Allow terminated peerings to be deleted 2022-08-26 10:52:47 -06:00
service_oss_test.go
service_test.go Allow terminated peerings to be deleted 2022-08-26 10:52:47 -06:00
testing.go
testutil_oss_test.go
validate.go
validate_test.go