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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user