From beeb2750dda388e8e13fa7719a217e0723a866fd Mon Sep 17 00:00:00 2001
From: Florent Gluck <florent.gluck@hesge.ch>
Date: Tue, 13 Jun 2023 15:43:43 +0200
Subject: [PATCH] Fixed typo

---
 src/server/vms/vms.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/server/vms/vms.go b/src/server/vms/vms.go
index 261f1f9..9b80bdc 100644
--- a/src/server/vms/vms.go
+++ b/src/server/vms/vms.go
@@ -509,7 +509,7 @@ func (vms *VMs)ImportFilesToVM(vm *VM, tarGzFile, vmDir string) error {
 
     // Marks VM as "busy", meaning its disk file is being accessed for a possibly long time.
     if vm.DiskBusy {
-        return nil, errors.New("Cannot import files into VM: disk is already busy")
+        return errors.New("Cannot import files into VM: disk is already busy")
     }
     vm.DiskBusy = true
 
-- 
GitLab