Skip to content

Commit 2ea0d15

Browse files
committed
dexop: remove unnecessary TypeMeta
1 parent fd741d7 commit 2ea0d15

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

go/dexop/internal/controller/secret_manager.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ func (s SecretManager) readSecret(r *ClientReconciler, ctx context.Context, name
3030

3131
func (s SecretManager) writeSecret(r *ClientReconciler, ctx context.Context, clientSpec *dexv1alpha1.Client, value string) (*v1.Secret, error) {
3232
secret := &v1.Secret{
33-
TypeMeta: metav1.TypeMeta{},
3433
ObjectMeta: metav1.ObjectMeta{
3534
Name: clientSpec.Spec.SecretName,
3635
Namespace: clientSpec.Spec.SecretNamespace,

0 commit comments

Comments
 (0)