Skip to content

Remove unnecessary locks from TabletInfo #346

Remove unnecessary locks from TabletInfo

Remove unnecessary locks from TabletInfo #346

Triggered via pull request June 22, 2024 10:47
Status Failure
Total duration 47s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Build: tablet_test.go#L13
cannot use sync.RWMutex{} (value of type sync.RWMutex) as string value in struct literal
Build: tablet_test.go#L15
cannot use "table1" (untyped string constant) as int64 value in struct literal
Build: tablet_test.go#L17
cannot use -6917529027641081857 (untyped int constant) as []ReplicaInfo value in struct literal
Build: tablet_test.go#L18
too many values in struct literal of type TabletInfo
Build: tablet_test.go#L21
cannot use sync.RWMutex{} (value of type sync.RWMutex) as string value in struct literal
Build: tablet_test.go#L23
cannot use "table1" (untyped string constant) as int64 value in struct literal
Build: tablet_test.go#L25
cannot use -4611686018427387905 (untyped int constant) as []ReplicaInfo value in struct literal
Build: tablet_test.go#L26
too many values in struct literal of type TabletInfo
Build: tablet_test.go#L29
cannot use sync.RWMutex{} (value of type sync.RWMutex) as string value in struct literal
Build: tablet_test.go#L31
cannot use "table1" (untyped string constant) as int64 value in struct literal
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/