pkg/cluster/service/service.go
Showing 1 of 1 total issue
Method service.SyncDBWithGitRepo
has 6 return statements (exceeds 4 allowed). Open
Open
func (s service) SyncDBWithGitRepo(ctx context.Context, application *appmodels.Application, cluster *clustermodels.Cluster) (*clustermodels.Cluster, error) { templateFromFile, err := s.clusterGitRepo.GetClusterTemplate(ctx, application.Name, cluster.Name) if err != nil { return nil, err