Skip to content

Commit

Permalink
optional is redundant with default
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Wozniak <[email protected]>
Signed-off-by: Omer Aplatony <[email protected]>
  • Loading branch information
omerap12 and wozniakjan authored Jan 6, 2025
1 parent 8f1127f commit 9adc070
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/scalers/gcp_stackdriver_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type stackdriverScaler struct {
type stackdriverMetadata struct {
ProjectID string `keda:"name=projectID, order=triggerMetadata"`
Filter string `keda:"name=filter, order=triggerMetadata"`
TargetValue float64 `keda:"name=targetValue, order=triggerMetadata, optional, default=5"`
ActivationTargetValue float64 `keda:"name=activationTargetValue, order=triggerMetadata, optional, default=0"`
TargetValue float64 `keda:"name=targetValue, order=triggerMetadata, default=5"`
ActivationTargetValue float64 `keda:"name=activationTargetValue, order=triggerMetadata, default=0"`
metricName string
ValueIfNull *float64 `keda:"name=valueIfNull, order=triggerMetadata, optional"`
FilterDuration int64 `keda:"name=filterDuration, order=triggerMetadata, optional"`
Expand Down

0 comments on commit 9adc070

Please sign in to comment.