Skip to content

Commit

Permalink
Add empty lines after/before functions
Browse files Browse the repository at this point in the history
  • Loading branch information
strakh-alex committed Feb 23, 2024
1 parent f427b0e commit f9e09f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ type FederatedIdentityCredentialResourceSchema struct {
func (r FederatedIdentityCredentialResource) IDValidationFunc() pluginsdk.SchemaValidateFunc {
return managedidentities.ValidateFederatedIdentityCredentialID
}

func (r FederatedIdentityCredentialResource) ResourceType() string {
return "azurerm_federated_identity_credential"
}

func (r FederatedIdentityCredentialResource) Arguments() map[string]*pluginsdk.Schema {
return map[string]*pluginsdk.Schema{
"audience": {
Expand Down Expand Up @@ -76,9 +78,11 @@ func (r FederatedIdentityCredentialResource) Arguments() map[string]*pluginsdk.S
},
}
}

func (r FederatedIdentityCredentialResource) Attributes() map[string]*pluginsdk.Schema {
return map[string]*pluginsdk.Schema{}
}

func (r FederatedIdentityCredentialResource) Create() sdk.ResourceFunc {
return sdk.ResourceFunc{
Timeout: 30 * time.Minute,
Expand Down Expand Up @@ -124,6 +128,7 @@ func (r FederatedIdentityCredentialResource) Create() sdk.ResourceFunc {
},
}
}

func (r FederatedIdentityCredentialResource) Read() sdk.ResourceFunc {
return sdk.ResourceFunc{
Timeout: 5 * time.Minute,
Expand Down Expand Up @@ -160,6 +165,7 @@ func (r FederatedIdentityCredentialResource) Read() sdk.ResourceFunc {
func (r FederatedIdentityCredentialResource) Update() sdk.ResourceFunc {
return r.Create()
}

func (r FederatedIdentityCredentialResource) Delete() sdk.ResourceFunc {
return sdk.ResourceFunc{
Timeout: 30 * time.Minute,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func (r FederatedIdentityCredentialTestResource) Exists(ctx context.Context, cli

return utils.Bool(resp.Model != nil), nil
}

func (r FederatedIdentityCredentialTestResource) basic(data acceptance.TestData) string {
return fmt.Sprintf(`
%s
Expand All @@ -86,6 +87,7 @@ resource "azurerm_federated_identity_credential" "test" {
}
`, r.template(data))
}

func (r FederatedIdentityCredentialTestResource) update(data acceptance.TestData) string {
return fmt.Sprintf(`
%s
Expand Down

0 comments on commit f9e09f4

Please sign in to comment.