Skip to content

Commit

Permalink
Log when ASGs or MIGs are first autodiscovered
Browse files Browse the repository at this point in the history
  • Loading branch information
Nic Cope committed Nov 19, 2017
1 parent a3c5aa3 commit 590aa2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cluster-autoscaler/cloudprovider/aws/aws_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ func (m *AwsManager) fetchAutoAsgs() error {
return err
}
if m.RegisterAsg(asg) {
glog.V(3).Infof("Autodiscovered ASG %s using tags %v", asg.AwsRef.Name, cfg.TagKeys)
changed = true
}
exists[asg.AwsRef] = true
Expand Down
1 change: 1 addition & 0 deletions cluster-autoscaler/cloudprovider/gce/gce_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,7 @@ func (m *gceManagerImpl) fetchAutoMigs() error {
return err
}
if m.RegisterMig(mig) {
glog.V(3).Infof("Autodiscovered MIG %s using regexp %s", mig.GceRef.Name, cfg.Re.String())
changed = true
}
exists[mig.GceRef] = true
Expand Down

0 comments on commit 590aa2b

Please sign in to comment.