grafana / grafana/alerting

Consistent error names in the images package

Open
#88 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
89
Forks
74
Avg merge
2d 7h
Merged PRs (30d)
8

Description

Error names in our `images` package use the singular and plural forms of "image(s)" interchangeably. We should remove "Image(s)" from the error names to avoid inconsistency and stuttering when using e.g. `images.ErrImagesNoURL`.

Contributor guide

Open the contributing guide

Research direction

Start by locating the images package and the ErrImagesNoURL declaration, then review the other image-related error names for the same inconsistency. Rename the affected errors consistently and verify that references to the old names no longer remain and the package still builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.