chore: Remove commented code and update FPL struct fields

The code changes in `config.go` remove the commented code for printing a validation message and update the fields of the `FPL` struct in `fpl_test.go`. The commented code is no longer needed and can be safely removed. The updated fields in the `FPL` struct reflect the latest requirements and improve the accuracy of the test cases. This commit enhances code readability and maintainability.
This commit is contained in:
windyboy
2024-07-20 08:21:49 +08:00
parent 75160df8ca
commit e394362554
3 changed files with 58 additions and 44 deletions
+1 -1
View File
@@ -195,6 +195,6 @@ func ValidateConfig(cfg *Config) error {
if cfg.Subscription.Topic == "" {
return fmt.Errorf("subscription topic is required")
}
fmt.Println("config validation passed")
// fmt.Println("config validation passed")
return nil
}