CI: Bump golangci-lint to 2.0.2 (#103572)

This commit is contained in:
Mariell Hoversholm
2025-04-10 14:42:23 +02:00
committed by GitHub
parent b58b6e828e
commit 757be6365a
291 changed files with 1948 additions and 1835 deletions
+1 -1
View File
@@ -273,7 +273,7 @@ func (s *standardStorageService) list(c *contextmodel.ReqContext) response.Respo
func (s *standardStorageService) getConfig(c *contextmodel.ReqContext) response.Response {
roots := make([]RootStorageMeta, 0)
orgId := c.SignedInUser.GetOrgID()
orgId := c.GetOrgID()
t := s.tree
t.assureOrgIsInitialized(orgId)
+2 -2
View File
@@ -545,7 +545,7 @@ func TestShadowingExistingFolderByNestedContentRoot(t *testing.T) {
require.NoError(t, err)
require.NotNil(t, resp)
rowLen, err := resp.Frame.RowLen()
rowLen, err := resp.RowLen()
require.NoError(t, err)
require.Equal(t, 0, rowLen) // nested storage is empty
@@ -553,7 +553,7 @@ func TestShadowingExistingFolderByNestedContentRoot(t *testing.T) {
require.NoError(t, err)
require.NotNil(t, resp)
rowLen, err = resp.Frame.RowLen()
rowLen, err = resp.RowLen()
require.NoError(t, err)
require.Equal(t, 1, rowLen) // just a single "nested" folder
}