Add Go wrappers for Get/SetVirtualDiskInformation win32 APIs. #369
Annotations
6 errors and 11 warnings
|
Run golangci-lint
issues found
|
|
Run golangci-lint:
wim/lzx/lzx.go#L103
directive `//nolint:errorlint` is unused for linter "errorlint" (nolintlint)
|
|
Run golangci-lint:
vhd/vhd.go#L178
SA9004: only the first constant in this group has an explicit type (staticcheck)
|
|
Run golangci-lint:
vhd/vhd.go#L168
SA9004: only the first constant in this group has an explicit type (staticcheck)
|
|
Run golangci-lint:
hvsock_test.go#L635
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
|
|
Run golangci-lint:
vhd/vhd.go#L443
stdversion: binary.Encode requires go1.23 or later (module is go1.21) (govet)
|
|
Post Run golangci-lint
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0hCfxaAAAAAArmMj6pccvR6AXaG/FTbnbQlkzRURHRTAyMjEARWRnZQ==
|
|
Run golangci-lint:
pkg/security/grantvmgroupaccess.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
|
|
Run golangci-lint:
pkg/security/grantvmgroupaccess_test.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
|
|
Run golangci-lint:
wim/validate/main_windows.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
|
|
Run golangci-lint:
pkg/process/syscall.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
|
|
Run golangci-lint:
pkg/process/process.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
|
|
Run golangci-lint:
wim/wim.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
|
|
Run golangci-lint:
wim/decompress.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
|
|
Run golangci-lint:
wim/lzx/lzx.go#L160
redefines-builtin-id: redefinition of the built-in function max (revive)
|
|
Run golangci-lint:
wim/lzx/lzx.go#L156
redefines-builtin-id: redefinition of the built-in function max (revive)
|
|
Run golangci-lint
Failed to restore: Cache service responded with 400
|
Loading