Remove deprecated mqtrigger with kind fission (#2875)

* Remove deprecated mqtrigger with kind fission
* Remove unused deps

---------

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
Sanket Sudake
2023-11-21 17:52:37 +05:30
committed by GitHub
parent efeb6951dc
commit f44174debc
30 changed files with 13 additions and 1481 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ func (opts *CreateSubCommand) run(input cli.Input) error {
func checkMQTopicAvailability(mqType fv1.MessageQueueType, mqtKind string, topics ...string) error {
for _, t := range topics {
if len(t) > 0 && !validator.IsValidTopic((string)(mqType), t, mqtKind) {
if len(t) > 0 && !validator.IsValidTopic(mqtKind) {
return errors.Errorf("invalid topic for %s: %s", mqType, t)
}
}