You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: display actual config file path in startup logs
The 'Config file:' line in immudb startup logs always showed
the hardcoded default value 'configs/immudb.toml' regardless of which
config file was actually loaded via --config flag or IMMUDB_CONFIG env var.
Signed-off-by: Alexander Rodionov <[email protected]>
cmd.Flags().Bool("replication-skip-integrity-check", options.ReplicationOptions.SkipIntegrityCheck, "disable integrity check when reading data during replication")
46
46
cmd.Flags().Bool("replication-wait-for-indexing", options.ReplicationOptions.WaitForIndexing, "wait for indexing to be up to date during replication")
47
47
cmd.Flags().Int("max-active-databases", options.MaxActiveDatabases, "the maximum number of databases that can be active simultaneously")
48
+
cmd.Flags().String("config", "", "config file (default path are configs or $HOME. Default filename is immudb.toml)")
48
49
49
50
cmd.PersistentFlags().StringVar(&cl.config.CfgFn, "config", "", "config file (default path are configs or $HOME. Default filename is immudb.toml)")
50
51
cmd.Flags().String("pidfile", options.Pidfile, "pid path with filename e.g. /var/run/immudb.pid")
0 commit comments