Skip to content

Commit

Permalink
fix typo in root kafkatopic validator; same typo cannot yet be fixed …
Browse files Browse the repository at this point in the history
…in e2e tests
  • Loading branch information
mihaialexandrescu committed Aug 31, 2023
1 parent 21bdaf3 commit f846478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/webhooks/kafkatopic_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func (s *KafkaTopicValidator) checkExistingKafkaTopicCRs(ctx context.Context,
}
}
if foundKafkaTopic != nil {
logMsg := fmt.Sprintf("kafkaTopic CR '%s' in namesapce '%s' is already referencing to Kafka topic '%s'",
logMsg := fmt.Sprintf("kafkaTopic CR '%s' in namespace '%s' is already referencing to Kafka topic '%s'",
foundKafkaTopic.Name, foundKafkaTopic.Namespace, foundKafkaTopic.Spec.Name)
return field.Invalid(field.NewPath("spec").Child("name"), foundKafkaTopic.Spec.Name, logMsg), nil
}
Expand Down

0 comments on commit f846478

Please sign in to comment.