Skip to content

Commit

Permalink
Update pkg/scalers/gcp_pub_sub_scaler.go
Browse files Browse the repository at this point in the history
Co-authored-by: Herman <hermanbanken@gmail.com>
  • Loading branch information
jmalvarezf-lmes and hermanbanken authored Nov 12, 2021
1 parent 34ba675 commit 95ab872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scalers/gcp_pub_sub_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
const (
defaultTargetSubscriptionSize = 5
pubSubStackDriverMetricName = "pubsub.googleapis.com/subscription/num_undelivered_messages"
compositeSubscriptionIDPrefix = "projects/[a-zA-Z0-9-]+/subscriptions/[a-zA-Z0-9-]+"
compositeSubscriptionIDPrefix = "projects/[a-z][a-zA-Z0-9-]*[a-zA-Z0-9]/subscriptions/[a-zA-Z][a-zA-Z0-9-_~%+]*"
)

type gcpAuthorizationMetadata struct {
Expand Down

0 comments on commit 95ab872

Please sign in to comment.