Skip to content

Commit

Permalink
gofump
Browse files Browse the repository at this point in the history
  • Loading branch information
c-pius committed Dec 16, 2024
1 parent 982c745 commit 0dd60cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/testutils/moduletemplate.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ import (

func CreateModuleTemplate(ctx context.Context,
clnt client.Client,
moduleTemplate *v1beta2.ModuleTemplate) error {
moduleTemplate *v1beta2.ModuleTemplate,
) error {
moduleTemplate.SetResourceVersion("") // must be reset to enable retries
if err := clnt.Create(ctx, moduleTemplate); client.IgnoreAlreadyExists(err) != nil {
return fmt.Errorf("creating ModuleTemplate failed: %w", err)
Expand Down

0 comments on commit 0dd60cf

Please sign in to comment.