Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libhvee_windows: Use uint64 as arg for disk resize function
It will reduce following error for golint ci. ``` pkg/drivers/libhvee/libhvee_windows.go:92:31: G115: integer overflow conversion uint64 -> int64 (gosec) if err := d.resizeDisk(int64(update.DiskCapacity)); err != nil { ^ pkg/drivers/libhvee/libhvee_windows.go:196:27: G115: integer overflow conversion uint64 -> int64 (gosec) return d.resizeDisk(int64(d.DiskCapacity)) ^ pkg/drivers/libhvee/libhvee_windows.go:288:26: G115: integer overflow conversion int64 -> uint64 (gosec) newSize := strongunits.B(newSizeBytes) ```
- Loading branch information