Skip to content

Commit

Permalink
Run pre-push
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-asawicki committed Aug 2, 2024
1 parent e7923b3 commit fae051d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/resources/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ description: |-
---

!> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the [migration guide](https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/MIGRATION_GUIDE.md#v0920--v0930) to use it.

# snowflake_user (Resource)


Expand Down
6 changes: 4 additions & 2 deletions pkg/resources/resource_parameters_commons.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ func enrichWithReferenceToParameterDocs[T ~string](parameter T, description stri
return fmt.Sprintf("%s For more information, check [%s docs](%s).", description, parameter, link)
}

type showParametersFunc[T sdk.ObjectIdentifier] func(ctx context.Context, id T) ([]*sdk.Parameter, error)
type showParametersFuncProvider[T sdk.ObjectIdentifier] func(client *sdk.Client) showParametersFunc[T]
type (
showParametersFunc[T sdk.ObjectIdentifier] func(ctx context.Context, id T) ([]*sdk.Parameter, error)
showParametersFuncProvider[T sdk.ObjectIdentifier] func(client *sdk.Client) showParametersFunc[T]
)

// parametersProvider is a generic function that can be used with ParametersCustomDiff
func parametersProvider[T sdk.ObjectIdentifier](
Expand Down

0 comments on commit fae051d

Please sign in to comment.