Skip to content

Commit

Permalink
fix gocritic linter
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenolivia committed Feb 14, 2024
1 parent c48a511 commit a5ba0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry_module.go
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ func (r *registryModules) ReadVersion(ctx context.Context, moduleID RegistryModu
// Delete is used to delete the entire registry module
// Warning: This method is deprecated and will be removed from a future version of go-tfe. Use DeleteByName instead.
// See API Docs: https://developer.hashicorp.com/terraform/cloud-docs/api-docs/private-registry/modules#delete-a-module
func (r *registryModules) Delete(ctx context.Context, organization string, name string) error {
func (r *registryModules) Delete(ctx context.Context, organization, name string) error {
if !validStringID(&organization) {
return ErrInvalidOrg
}
Expand Down

0 comments on commit a5ba0cb

Please sign in to comment.