Skip to content

Commit 619e3e7

Browse files
authored
add resize (#478)
1 parent 6cff36d commit 619e3e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/virt/virt.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ func (v *Virt) VirtualizationAttach(ctx context.Context, ID string, stream, stdi
234234

235235
// VirtualizationResize resized window size
236236
func (v *Virt) VirtualizationResize(ctx context.Context, ID string, height, width uint) error {
237-
return fmt.Errorf("VirtualizationResize not implemented")
237+
return v.client.ResizeConsoleWindow(ctx, ID, height, width)
238238
}
239239

240240
// VirtualizationWait is waiting for a shut-off

0 commit comments

Comments
 (0)