rollbar/resource_project.go
Function resourceProjectCreate
has 53 lines of code (exceeds 50 allowed). Consider refactoring. Wontfix
Wontfix
func resourceProjectCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics {
name := d.Get("name").(string)
l := log.With().Str("name", name).Logger()
l.Info().Msg("Creating new Rollbar project resource")
Function resourceProjectCreate
has 6 return statements (exceeds 4 allowed). Wontfix
Wontfix
func resourceProjectCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics {
name := d.Get("name").(string)
l := log.With().Str("name", name).Logger()
l.Info().Msg("Creating new Rollbar project resource")