superfly / flyctl

Function with cyclomatic complexity higher than threshold GO-R1005
Anti-pattern
Minor
1 occurrence in this check
func LaunchMachinesPostgres has a cyclomatic complexity of 24 with "high" risk
 63}
 64
 65// LaunchMachinesPostgres launches a postgres cluster using the machines runtime
 66func (l *Launcher) LaunchMachinesPostgres(ctx context.Context, config *CreateClusterInput, detach bool) error { 67	var (
 68		io       = iostreams.FromContext(ctx)
 69		colorize = io.ColorScheme()