Skip to content

Commit a9427a1

Browse files
authored
🏃 Remove unused variable from IsConvertible
The log message that used this was removed in this commit 0f2e574#r36915807
1 parent 8c39906 commit a9427a1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/webhook/conversion/conversion.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,6 @@ func IsConvertible(scheme *runtime.Scheme, obj runtime.Object) (bool, error) {
264264
}
265265

266266
if len(hubs) == 1 && len(nonSpokes) == 0 { // convertible
267-
spokeVersions := []string{}
268-
for _, sp := range spokes {
269-
spokeVersions = append(spokeVersions, sp.GetObjectKind().GroupVersionKind().String())
270-
}
271267
return true, nil
272268
}
273269

0 commit comments

Comments
 (0)