Skip to content

Commit

Permalink
Fix variable shadow in azure_queue.go (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmelsayed authored Jul 15, 2019
1 parent 2cac44f commit 87817e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scalers/azure_queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func GetAzureQueueLength(ctx context.Context, usePodIdentity bool, connectionStr
if !usePodIdentity {

var accountKey string
_, accountName, accountKey, _, err := ParseAzureStorageConnectionString(connectionString)
_, accountName, accountKey, _, err = ParseAzureStorageConnectionString(connectionString)

if err != nil {
return -1, err
Expand Down

0 comments on commit 87817e9

Please sign in to comment.