Skip to content

Commit 38b68ea

Browse files
committed
lint fix: return VirtioDevice from TimesyncNew
1 parent 0cbcd1a commit 38b68ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ func (vm *VirtualMachine) ValidateDevices() error {
259259
return nil
260260
}
261261

262-
func TimeSyncNew(vsockPort uint) (VMComponent, error) {
262+
func TimeSyncNew(vsockPort uint) (VirtioDevice, error) {
263263

264264
if vsockPort > math.MaxUint32 {
265265
return nil, fmt.Errorf("invalid vsock port: %d", vsockPort)

0 commit comments

Comments
 (0)