From ded19752565e216004a7f21e55552aa7da3d89c8 Mon Sep 17 00:00:00 2001 From: Eslam-Nawara Date: Mon, 16 Dec 2024 16:09:42 +0200 Subject: [PATCH] fix typos --- pkg/app/boot_test.go | 2 +- pkg/provision/storage/storage.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/app/boot_test.go b/pkg/app/boot_test.go index 418d66e5c..eab2acea0 100644 --- a/pkg/app/boot_test.go +++ b/pkg/app/boot_test.go @@ -92,7 +92,7 @@ func TestMarkBooted(t *testing.T) { }) } -// TestIsFirstBoo tests the isFirstBoot function against multiple scenarios. +// TestIsFirstBoot tests the isFirstBoot function against multiple scenarios. // it tests both scenarios of the file being first booted or not func TestIsFirstBoot(t *testing.T) { testFile := "test" diff --git a/pkg/provision/storage/storage.go b/pkg/provision/storage/storage.go index 427bd0153..359e0e65f 100644 --- a/pkg/provision/storage/storage.go +++ b/pkg/provision/storage/storage.go @@ -735,7 +735,7 @@ func (b *BoltStorage) Close() error { return b.db.Close() } -// CleanDeletes is a cleaner method intended to clean up old "deleted" contracts +// CleanDeleted a cleaner method intended to clean up old "deleted" contracts // that has no active workloads anymore. We used to always leave the entire history // of all deployments that ever lived on the system. But we changed that so once // a deployment is deleted, it's deleted forever. Hence this code is only needed