From 017c31cbb1a9246bc846accb3b13b5b3a321f778 Mon Sep 17 00:00:00 2001 From: Tasko Olevski Date: Mon, 11 Nov 2024 14:26:50 +0100 Subject: [PATCH] squashme: apply suggestions from code review Co-authored-by: Ralf Grubenmann --- pkg/rclone/driver.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/rclone/driver.go b/pkg/rclone/driver.go index 1aba38d..cf65515 100644 --- a/pkg/rclone/driver.go +++ b/pkg/rclone/driver.go @@ -115,13 +115,13 @@ func (d *Driver) Stop() error { return err } -func unmountExiting() { +func unmountExisting() { klog.Info("Checking for existing rclone mounts to unmount") // NOTE: A blank mounter path means use the default of /bin/mount mounter := mountUtils.New("") mounts, err := mounter.List() if err != nil { - klog.Warningf("Could not list mounts when trying to unmount exising mounts: %v", err) + klog.Warningf("Could not list mounts when trying to unmount existing mounts: %v", err) return } for _, mount := range mounts {