From d97571044551ec625861c93259fc7f033c124e65 Mon Sep 17 00:00:00 2001 From: Paulo Truta Date: Mon, 3 May 2021 21:02:09 +0000 Subject: [PATCH] Added initial debug message of SQLite DB location --- cmd/edgeboxctl/main.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cmd/edgeboxctl/main.go b/cmd/edgeboxctl/main.go index ba58361..c60516e 100644 --- a/cmd/edgeboxctl/main.go +++ b/cmd/edgeboxctl/main.go @@ -73,7 +73,6 @@ func main() { log.Printf("System not ready. Next try will be executed in 60 seconds") time.Sleep(defaultNotReadySleepTime) } - } @@ -93,8 +92,8 @@ func printVersion() { func printDbDetails() { fmt.Printf( - "\n\nDatabase Connection Information:\n %s\n\n", - utils.GetMySQLDbConnectionDetails(), + "\n\nSQLite Database Location:\n %s\n\n", + utils.GetSQLiteDbConnectionDetails(), ) } @@ -112,7 +111,7 @@ func isDatabaseReady() bool { func systemIterator(name *string, tick int) { log.Printf("Tick is %d", tick) - + tasks.ExecuteSchedules(tick) nextTask := tasks.GetNextTask() if nextTask.Task != "" {