Skip to content

Commit

Permalink
Log only the volume for a create stemcell call
Browse files Browse the repository at this point in the history
  • Loading branch information
Maya Rosecrance committed Dec 15, 2020
1 parent b9e3de8 commit 3712af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bosh_aws_cpi/lib/cloud/aws/cloud_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def create_ami_for_stemcell(image_path, stemcell_cloud_props)
actual_path = BlockDeviceManager.block_device_ready?(expected_path)

logger.debug("Actual block device: #{actual_path}")
logger.info("Creating stemcell with: '#{volume.id}' and '#{stemcell_cloud_props.inspect}'")
logger.info("Creating stemcell with: '#{volume.id}'")
creator.create(volume, actual_path, image_path).id
rescue => e
logger.error(e)
Expand Down

0 comments on commit 3712af4

Please sign in to comment.