Skip to content

Commit

Permalink
pass in accountName variable into error message
Browse files Browse the repository at this point in the history
  • Loading branch information
davidadeleon committed Jun 21, 2024
1 parent ddce601 commit afef426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion physical/azure/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func NewAzureBackend(conf map[string]string, logger log.Logger) (physical.Backen
}
}
if err := validateAccountName(accountName); err != nil {
return nil, fmt.Errorf("invalid account name %s: %w", name, err)
return nil, fmt.Errorf("invalid account name %s: %w", accountName, err)
}

accountKey := os.Getenv("AZURE_ACCOUNT_KEY")
Expand Down

0 comments on commit afef426

Please sign in to comment.