CI: Bump golangci-lint to 2.0.2 (#103572)
This commit is contained in:
committed by
GitHub
parent
b58b6e828e
commit
757be6365a
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user