microsoft / terraform-provider-azuredevops

Terraform Azure DevOps provider
https://www.terraform.io/docs/providers/azuredevops/
MIT License
372 stars 260 forks source link

Bug fix - `azuredevops_git_repository` - fix nil pointer exception #1065

Closed xuzhang3 closed 1 month ago

xuzhang3 commented 1 month ago
  1. Update test cases

All Submissions:

What about the current behavior has changed?

Issue Number:

Does this introduce a change to go.mod, go.sum or vendor/?

Does this introduce a breaking change?

Any relevant logs, error output, etc?

(If it’s long, please paste to https://ghostbin.com/ and insert the link here.)

Other information

xuzhang3 commented 1 month ago
xuzhang3 commented 1 month ago
=== RUN   TestAccGitRepository_DataSource
=== PAUSE TestAccGitRepository_DataSource
=== RUN   TestAccGitRepository_DataSource_notExist
=== PAUSE TestAccGitRepository_DataSource_notExist
=== CONT  TestAccGitRepository_DataSource
=== CONT  TestAccGitRepository_DataSource_notExist
--- PASS: TestAccGitRepository_DataSource_notExist (40.70s)
--- PASS: TestAccGitRepository_DataSource (50.09s)
PASS
ok      github.com/microsoft/terraform-provider-azuredevops/azuredevops/internal/acceptancetests        57.495s