Skip to content

Commit

Permalink
remove queue creating in azure queue scaler (#1001)
Browse files Browse the repository at this point in the history
Signed-off-by: jenya <jenya@hexadite.com>
  • Loading branch information
Jenya Privalov authored Aug 18, 2020
1 parent b4d847f commit 9341259
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/scalers/azure/azure_queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ func GetAzureQueueLength(ctx context.Context, podIdentity string, connectionStri
p := azqueue.NewPipeline(credential, azqueue.PipelineOptions{})
serviceURL := azqueue.NewServiceURL(*endpoint, p)
queueURL := serviceURL.NewQueueURL(queueName)
_, err = queueURL.Create(ctx, azqueue.Metadata{})
if err != nil {
return -1, err
}

props, err := queueURL.GetProperties(ctx)
if err != nil {
return -1, err
Expand Down

0 comments on commit 9341259

Please sign in to comment.