This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 8b83fc6b0 fix(backend): update log message when reading configurations 
(#6969)
8b83fc6b0 is described below

commit 8b83fc6b0c2edc2a511dde9d430e115ee4c4c626
Author: Lynwee <[email protected]>
AuthorDate: Sun Feb 18 17:17:23 2024 +0800

    fix(backend): update log message when reading configurations (#6969)
---
 backend/core/config/config_viper.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/core/config/config_viper.go 
b/backend/core/config/config_viper.go
index 0937f2237..3e4e4b0c8 100644
--- a/backend/core/config/config_viper.go
+++ b/backend/core/config/config_viper.go
@@ -72,7 +72,7 @@ func initConfig(v *viper.Viper) {
 
        if _, err := os.Stat(v.ConfigFileUsed()); err != nil {
                if os.IsNotExist(err) {
-                       logrus.Info("no [.env] file, please make sure you have 
set the environment variable.")
+                       logrus.Info("no [.env] file, devlake will read 
configuration from environment, please make sure you have set correct 
environment variable.")
                } else {
                        panic(fmt.Errorf("failed to get config file info: %v", 
err))
                }

Reply via email to