diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-07-08 12:45:31 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-07-11 09:03:37 +0000 |
| commit | bdca406b2cf89f029207aa8213460ec7a3267ccc (patch) | |
| tree | 077a43542b50ba8c6db9cc91567fb332032a3913 /vm/vmimpl | |
| parent | a893841a9f868b1590b9dacfa772d634629ad88d (diff) | |
vm: make Instance implement io.Closer
It's better to follow standard interfaces.
Diffstat (limited to 'vm/vmimpl')
| -rw-r--r-- | vm/vmimpl/vmimpl.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vmimpl/vmimpl.go b/vm/vmimpl/vmimpl.go index e29412d75..fa2719f5f 100644 --- a/vm/vmimpl/vmimpl.go +++ b/vm/vmimpl/vmimpl.go @@ -58,7 +58,7 @@ type Instance interface { Diagnose(rep *report.Report) (diagnosis []byte, wait bool) // Close stops and destroys the VM. - Close() + io.Closer } // Infoer is an optional interface that can be implemented by Instance. |
