From d619009128a5d31e0be064b1ad9ef5e5de4908f4 Mon Sep 17 00:00:00 2001 From: HoweChen Date: Tue, 26 May 2020 15:47:47 +0800 Subject: [PATCH] #167 update EipServiceImpl with logger --- .../plugins/alicloud/service/vpc/eip/EipServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/webank/wecube/plugins/alicloud/service/vpc/eip/EipServiceImpl.java b/src/main/java/com/webank/wecube/plugins/alicloud/service/vpc/eip/EipServiceImpl.java index 4ceaad20..833c7f57 100644 --- a/src/main/java/com/webank/wecube/plugins/alicloud/service/vpc/eip/EipServiceImpl.java +++ b/src/main/java/com/webank/wecube/plugins/alicloud/service/vpc/eip/EipServiceImpl.java @@ -191,6 +191,9 @@ private void releaseCBPIfPossible(IAcsClient client, String regionId, String fou // if there is no EIP bound, delete CBP if (cbp.getPublicIpAddresses().isEmpty()) { + + logger.info("Deleting CBP..."); + DeleteCommonBandwidthPackageRequest deleteRequest = new DeleteCommonBandwidthPackageRequest(); deleteRequest.setBandwidthPackageId(foundCBPId); acsClientStub.request(client, deleteRequest, regionId);