Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
manicminer committed Nov 19, 2020
1 parent 557bac0 commit 350fb9a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/provider/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ func TestProvider_impl(t *testing.T) {
func TestAccProvider_cliAuth(t *testing.T) {
provider := AzureADProvider().(*schema.Provider)
provider.ConfigureFunc = func(d *schema.ResourceData) (interface{}, error) {

// Support only Azure CLI authentication
builder := &authentication.Builder{
TenantID: d.Get("tenant_id").(string),
Expand All @@ -43,7 +42,6 @@ func TestAccProvider_cliAuth(t *testing.T) {
func TestAccProvider_servicePrincipalAuth(t *testing.T) {
provider := AzureADProvider().(*schema.Provider)
provider.ConfigureFunc = func(d *schema.ResourceData) (interface{}, error) {

// Support only Service Principal authentication (certificate or secret)
builder := &authentication.Builder{
ClientID: d.Get("client_id").(string),
Expand Down
8 changes: 8 additions & 0 deletions website/azuread.erb
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,18 @@
<a href="/docs/providers/azuread/r/application.html">azuread_application</a>
</li>

<li<%= sidebar_current("docs-azuread-resource-azuread-application-app-role") %>>
<a href="/docs/providers/azuread/r/application_app_role.html">azuread_application_app_role</a>
</li>

<li<%= sidebar_current("docs-azuread-resource-azuread-application-certificate") %>>
<a href="/docs/providers/azuread/r/application_certificate.html">azuread_application_certificate</a>
</li>

<li<%= sidebar_current("docs-azuread-resource-azuread-application-oauth2-permission") %>>
<a href="/docs/providers/azuread/r/application_oauth2_permission.html">azuread_application_oauth2_permission</a>
</li>

<li<%= sidebar_current("docs-azuread-resource-azuread-application-password") %>>
<a href="/docs/providers/azuread/r/application_password.html">azuread_application_password</a>
</li>
Expand Down

0 comments on commit 350fb9a

Please sign in to comment.