Skip to content

Commit

Permalink
debug ci, this should pass
Browse files Browse the repository at this point in the history
  • Loading branch information
3DRX committed Dec 7, 2024
1 parent 58f007f commit 00e9df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func checkCfg(c *Config) error {
return fmt.Errorf("invalid ipv4 addr \"" + c.Addr + "\"")
}
for _, topic := range c.Topics {
if !isTopicNameValid(&topic.NameIn) || isTopicNameValid(&topic.NameOut) {
if !isTopicNameValid(&topic.NameIn) || !isTopicNameValid(&topic.NameOut) {
return fmt.Errorf("wrong topic name format: \"" + topic.NameIn + "\" or \"" + topic.NameOut + "\"")
}
switch topic.Type {
Expand Down

0 comments on commit 00e9df8

Please sign in to comment.