Remove unused name field

This commit is contained in:
Pieter Noordhuis 2024-10-17 15:41:24 +02:00
parent 2765a41cf2
commit 13049a555b
No known key found for this signature in database
GPG Key ID: 12ACCCC104CF2930
1 changed files with 1 additions and 3 deletions

View File

@ -2,7 +2,6 @@ package mutator
import (
"context"
"fmt"
"strconv"
"strings"
@ -11,7 +10,6 @@ import (
)
type initializeURLs struct {
name string
}
// InitializeURLs makes sure the URL field of each resource is configured.
@ -23,7 +21,7 @@ func InitializeURLs() bundle.Mutator {
}
func (m *initializeURLs) Name() string {
return fmt.Sprintf("InitializeURLs(%s)", m.name)
return "InitializeURLs"
}
func (m *initializeURLs) Apply(ctx context.Context, b *bundle.Bundle) diag.Diagnostics {