Skip to content

Commit 5ae19d3

Browse files
committed
fix(ci): use full check-mode for trunk in workflow_call
1 parent 5b7fc36 commit 5ae19d3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

controllers/kafkaschema_controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ func (r *KafkaSchemaController) Observe(ctx context.Context, schema *v1alpha1.Ka
163163
}
164164
desiredFP := fingerprintSchema(schema, resolvedRefs)
165165

166-
appliedFP := schema.GetAnnotations()[kafkaSchemaAppliedFingerprintAnnotation]
167-
if appliedFP != desiredFP {
166+
appliedFP, ok := schema.GetAnnotations()[kafkaSchemaAppliedFingerprintAnnotation]
167+
if !ok || appliedFP != desiredFP {
168168
return Observation{ResourceExists: true, ResourceUpToDate: false}, nil
169169
}
170170

0 commit comments

Comments
 (0)