deitch / aws-asg-roller

Manage rolling upgrades for AWS autoscaling groups
Apache License 2.0
57 stars 17 forks source link

Use %v instead of %s to prevent verbose logs from causing panic #39

Closed TwiN closed 4 years ago

TwiN commented 4 years ago

Rather than converting each pointer to a value, we can just pass the pointer and use %v, which will resolve the pointer automatically.

This also fixes an issue that caused a panic when a launch configuration template name was nil.