Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Omer Aplatony <[email protected]>
  • Loading branch information
omerap12 committed Jan 5, 2025
1 parent 5879a56 commit 8f1127f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion pkg/scalers/gcp_stackdriver_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type stackdriverMetadata struct {
TargetValue float64 `keda:"name=targetValue, order=triggerMetadata, optional, default=5"`
ActivationTargetValue float64 `keda:"name=activationTargetValue, order=triggerMetadata, optional, default=0"`
metricName string
ValueIfNull *float64 `keda:"name=valueIfNull, order=triggerMetadata, optional"`
ValueIfNull *float64 `keda:"name=valueIfNull, order=triggerMetadata, optional"`
FilterDuration int64 `keda:"name=filterDuration, order=triggerMetadata, optional"`

gcpAuthorization *gcp.AuthorizationMetadata
Expand Down
4 changes: 0 additions & 4 deletions pkg/scalers/gcp_stackdriver_scaler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ var testStackdriverResolvedEnv = map[string]string{
"SAMPLE_CREDS": "{}",
}

func float64Ptr(v float64) *float64 {
return &v
}

type parseStackdriverMetadataTestData struct {
authParams map[string]string
metadata map[string]string
Expand Down

0 comments on commit 8f1127f

Please sign in to comment.