Skip to content

Commit

Permalink
Small logging fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cristim committed Apr 27, 2019
1 parent 74731dd commit 3fef70a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/spot_termination.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ func GetInstanceIDDueForTermination(event events.CloudWatchEvent) (*string, erro
//This makes sure that the autoscaling group spawns a new instance as soon as this instance is detached
func (s *SpotTermination) detachInstance(instanceID *string, asgName string) error {

log.Println(asgName,
"Detaching instance:",
*instanceID)

detachParams := autoscaling.DetachInstancesInput{
AutoScalingGroupName: aws.String(asgName),
InstanceIds: []*string{
Expand Down

0 comments on commit 3fef70a

Please sign in to comment.