pkg/controlplane/processor.go
Method Processor.ProcessFile
has 5 return statements (exceeds 4 allowed). Open
Open
func (p *Processor) ProcessFile(file NotifyMessage) error {
configList, err := ParseYaml(file.FilePath)
if err != nil {
p.logger.Errorf("error parsing yaml file: %+v", err)
return err