superfly / flyctl

Use %q to quote a string in fmt.Sprintf format specifiers GO-R4002
Anti-pattern
Minor
3 occurrences in this check
use %q instead of "%s" for quoted strings
 938			case len(groupConfig.AllServices()) > 0:
 939				description = fmt.Sprintf("2 \"%s\" machines", name)
 940			default:
 941				description = fmt.Sprintf("1 \"%s\" machine and 1 standby machine for it", name) 942			}
 943			fmt.Fprintf(md.io.Out, " %s create %s\n", bullet, description)
 944		}
use %q instead of "%s" for quoted strings
 936			case !md.increasedAvailability || len(groupConfig.Mounts) > 0:
 937				description = fmt.Sprintf("1 \"%s\" machine", name)
 938			case len(groupConfig.AllServices()) > 0:
 939				description = fmt.Sprintf("2 \"%s\" machines", name) 940			default:
 941				description = fmt.Sprintf("1 \"%s\" machine and 1 standby machine for it", name)
 942			}
use %q instead of "%s" for quoted strings
 934			case err != nil:
 935				continue
 936			case !md.increasedAvailability || len(groupConfig.Mounts) > 0:
 937				description = fmt.Sprintf("1 \"%s\" machine", name) 938			case len(groupConfig.AllServices()) > 0:
 939				description = fmt.Sprintf("2 \"%s\" machines", name)
 940			default: