Skip to content

Commit c5b0421

Browse files
authored
chore: fix some function names in comment (#2510)
Signed-off-by: needsure <qinzhipeng@outlook.com>
1 parent 75bdc74 commit c5b0421

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/app/boot_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func TestMarkBooted(t *testing.T) {
9292
})
9393
}
9494

95-
// TestIsFirstBoo tests the isFirstBoot function against multiple scenarios.
95+
// TestIsFirstBoot tests the isFirstBoot function against multiple scenarios.
9696
// it tests both scenarios of the file being first booted or not
9797
func TestIsFirstBoot(t *testing.T) {
9898
testFile := "test"

pkg/provision/storage/storage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ func (b *BoltStorage) Close() error {
735735
return b.db.Close()
736736
}
737737

738-
// CleanDeletes is a cleaner method intended to clean up old "deleted" contracts
738+
// CleanDeleted is a cleaner method intended to clean up old "deleted" contracts
739739
// that has no active workloads anymore. We used to always leave the entire history
740740
// of all deployments that ever lived on the system. But we changed that so once
741741
// a deployment is deleted, it's deleted forever. Hence this code is only needed

0 commit comments

Comments
 (0)