Skip to content

Commit

Permalink
#167 update EipServiceImpl with logger
Browse files Browse the repository at this point in the history
  • Loading branch information
HoweChen committed May 26, 2020
1 parent 1682084 commit d619009
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d619009

Please sign in to comment.