mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Fix staticcheck issues (#28860)
* Chore: Fix issues reported by staticcheck Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Undo changes Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Chore: Fix issues reported by staticcheck Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Fix test Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Fix test Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@@ -6,8 +6,8 @@ import (
|
||||
|
||||
// Typed errors
|
||||
var (
|
||||
ErrPlaylistNotFound = errors.New("Playlist not found")
|
||||
ErrPlaylistWithSameNameExists = errors.New("A playlist with the same name already exists")
|
||||
ErrPlaylistNotFound = errors.New("playlist not found")
|
||||
ErrPlaylistWithSameNameExists = errors.New("a playlist with the same name already exists")
|
||||
)
|
||||
|
||||
// Playlist model
|
||||
@@ -50,7 +50,7 @@ type PlaylistItem struct {
|
||||
Title string
|
||||
}
|
||||
|
||||
func (this PlaylistDashboard) TableName() string {
|
||||
func (p PlaylistDashboard) TableName() string {
|
||||
return "dashboard"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user