Skip to content

Commit

Permalink
1、update CHANGELOG.md 2、add log if resource
Browse files Browse the repository at this point in the history
  • Loading branch information
silenceper committed Oct 12, 2020
1 parent 1090798 commit 9a9bd62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
- Define KEDA readiness and liveness probes ([#788](https://github.com/kedacore/keda/issues/788))
- KEDA Support for configurable scaling behavior in HPA v2beta2 ([#802](https://github.com/kedacore/keda/issues/802))
- Add External Push scaler ([#820](https://github.com/kedacore/keda/issues/820) | [docs](https://keda.sh/docs/2.0/scalers/external-push/))
- Add Standard Resource metrics to KEDA ([#874](https://github.com/kedacore/keda/pull/874))
- Managed Identity support for Azure Monitor scaler ([#936](https://github.com/kedacore/keda/issues/936))
- Add support for multiple triggers on ScaledObject ([#476](https://github.com/kedacore/keda/issues/476))
- Add consumer offset reset policy option to Kafka scaler ([#925](https://github.com/kedacore/keda/pull/925))
Expand Down
3 changes: 3 additions & 0 deletions pkg/scaling/scale_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,9 @@ func (h *scaleHandler) checkScaledObjectScalers(ctx context.Context, scalers []s
if scaler.GetMetricSpecForScaling()[0].External != nil {
h.logger.V(1).Info("Scaler for scaledObject is active", "Metrics Name", scaler.GetMetricSpecForScaling()[0].External.Metric.Name)
}
if scaler.GetMetricSpecForScaling()[0].Resource != nil {
h.logger.V(1).Info("Scaler for scaledObject is active", "Metrics Name", scaler.GetMetricSpecForScaling()[0].Resource.Name)
}
break
}
}
Expand Down

0 comments on commit 9a9bd62

Please sign in to comment.