nitrado/gameserver_settings.go
Method GSSettingsService.Update
has 6 return statements (exceeds 4 allowed). Open
Open
func (s *GSSettingsService) Update(serviceID int, opts GSSettingsUpdateOptions) error {
if opts.Category == "" || opts.Key == "" {
return fmt.Errorf("category and key must not be blank. category=%q, key=%q", opts.Category, opts.Key)
}
u := fmt.Sprintf("services/%v/gameservers/settings", serviceID)
- Create a ticketCreate a ticket