fix(vet): fix go vet error #2
Annotations
39 errors, 1 warning, and 6 notices
Lint:
wal/wal.go#L97
S1032: should use sort.Strings(...) instead of sort.Sort(sort.StringSlice(...)) (gosimple)
|
Lint:
wal/util.go#L90
func `max` is unused (unused)
|
Lint:
wal/encoder.go#L43
func `(*encoder).close` is unused (unused)
|
Lint:
wal/wal_test.go#L43
Error return value of `os.Create` is not checked (errcheck)
|
Lint:
wal/wal.go#L273
Error return value of `w.Sync` is not checked (errcheck)
|
Lint:
wal/wal.go#L271
Error return value of `w.SaveEntry` is not checked (errcheck)
|
Lint:
wal/wal.go#L269
Error return value of `w.SaveState` is not checked (errcheck)
|
Lint:
wal/wal.go#L228
Error return value of `w.Sync` is not checked (errcheck)
|
Lint:
wal/wal.go#L206
Error return value of `w.Sync` is not checked (errcheck)
|
Lint:
wal/record_test.go#L53
Error return value of `e.encode` is not checked (errcheck)
|
Test (macos-latest, 1.24)
Cannot open: File exists
|
Test (macos-latest, 1.24)
Cannot open: File exists
|
Test (macos-latest, 1.24)
Cannot open: File exists
|
Test (macos-latest, 1.24)
Cannot open: File exists
|
Test (macos-latest, 1.24)
Cannot open: File exists
|
Test (macos-latest, 1.24)
Cannot open: File exists
|
Test (macos-latest, 1.24)
Cannot open: File exists
|
Test (macos-latest, 1.24)
Cannot open: File exists
|
Test (macos-latest, 1.24)
Cannot open: File exists
|
Test (macos-latest, 1.24)
Cannot open: File exists
|
Test (ubuntu-latest, 1.24)
Process completed with exit code 1.
|
Test (windows-latest, 1.23)
The operation was canceled.
|
Test (windows-latest, 1.23)
The strategy configuration was canceled because "test.ubuntu-latest_1_24" failed
|
Test (windows-latest, 1.24)
The operation was canceled.
|
Test (windows-latest, 1.24)
The strategy configuration was canceled because "test.ubuntu-latest_1_24" failed
|
Test (ubuntu-latest, 1.23)
The operation was canceled.
|
Test (ubuntu-latest, 1.23)
The strategy configuration was canceled because "test.ubuntu-latest_1_24" failed
|
Test (macos-latest, 1.23)
The operation was canceled.
|
Test (macos-latest, 1.23)
Cannot open: File exists
|
Test (macos-latest, 1.23)
Cannot open: File exists
|
Test (macos-latest, 1.23)
Cannot open: File exists
|
Test (macos-latest, 1.23)
Cannot open: File exists
|
Test (macos-latest, 1.23)
Cannot open: File exists
|
Test (macos-latest, 1.23)
Cannot open: File exists
|
Test (macos-latest, 1.23)
Cannot open: File exists
|
Test (macos-latest, 1.23)
Cannot open: File exists
|
Test (macos-latest, 1.23)
Cannot open: File exists
|
Test (macos-latest, 1.23)
Cannot open: File exists
|
Test (macos-latest, 1.23)
The strategy configuration was canceled because "test.ubuntu-latest_1_24" failed
|
Test (macos-latest, 1.24)
Failed to restore: "/opt/homebrew/bin/gtar" failed with error: The process '/opt/homebrew/bin/gtar' failed with exit code 2
|
Test (macos-latest, 1.24)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
Test (macos-latest, 1.24)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
Test (windows-latest, 1.23)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
Test (windows-latest, 1.24)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
Test (macos-latest, 1.23)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
Test (macos-latest, 1.23)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|