mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-09-25 14:20:56 +02:00
Fixed small typo, replaced DB connection details in Makefile by .env loading
This commit is contained in:
+3
-2
@@ -11,6 +11,7 @@ import (
|
||||
|
||||
"github.com/edgebox-iot/sysctl/internal/diagnostics"
|
||||
"github.com/edgebox-iot/sysctl/internal/tasks"
|
||||
"github.com/edgebox-iot/sysctl/internal/utils"
|
||||
)
|
||||
|
||||
const defaultNotReadySleepTime time.Duration = time.Second * 60
|
||||
@@ -85,8 +86,8 @@ func printVersion() {
|
||||
|
||||
func printDbDetails() {
|
||||
fmt.Printf(
|
||||
"\n\nDatabase Connection Information:\nHost: %s\nuser: %s\npassword: %s\n\n",
|
||||
tasks.Dbhost, tasks.Dbuser, tasks.Dbpass,
|
||||
"\n\nDatabase Connection Information:\n %s\n\n",
|
||||
utils.GetMySQLDbConnectionDetails(),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user