Last analyzed 67ce7cf 10 days ago
Default analysis branch is
Currently analyzing run
Empty string test can be improved CRT-A0004
Anti-pattern
10 days ago8 months old
replace len(r.Env) == 0 with r.Env == ""
596		Manifest:    kr.Spec.Manifest,
597	}
598
599	if len(r.Env) == 0 {600		if s, err := p.Cluster.CoreV1().Secrets(p.AppNamespace(r.App)).Get(
601			context.TODO(), fmt.Sprintf("release-%s", kr.ObjectMeta.Name), am.GetOptions{},
602		); err == nil {