Skip to content

Commit c7ed72e

Browse files
authored
Use the same value when installing and uninstalling (#573)
1 parent de4dd9d commit c7ed72e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/etcdmanager/etcdmanager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ func (m *EtcdManager) UninstallEtcd() error {
498498

499499
matchingLabels := client.MatchingLabels{
500500
pg.PartitionIDLabelName: m.options.PartitionID,
501-
pg.ManagedByLabelName: pg.ManagedByLabelValue,
501+
pg.ManagedByLabelName: m.options.PostgresletFullname,
502502
etcdComponentLabelName: etcdComponentLabelValue,
503503
}
504504
deleteAllOpts := []client.DeleteAllOfOption{

0 commit comments

Comments
 (0)