mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Deprecate ID from Folder (#78281)
* Chore: Deprecate ID from Folder * chore: add more linter comments * chore: add missing lint comment
This commit is contained in:
@@ -112,6 +112,7 @@ func MockDashboardGuardian(mock *FakeDashboardGuardian) {
|
||||
NewByFolder = func(_ context.Context, f *folder.Folder, orgId int64, user identity.Requester) (DashboardGuardian, error) {
|
||||
mock.OrgID = orgId
|
||||
mock.DashUID = f.UID
|
||||
// nolint:staticcheck
|
||||
mock.DashID = f.ID
|
||||
mock.User = user
|
||||
return mock, nil
|
||||
|
||||
Reference in New Issue
Block a user