You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by li...@apache.org on 2024/01/29 09:12:09 UTC

(incubator-answer) branch release/1.2.5 updated (4852d421 -> 387c4f64)

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

linkinstar pushed a change to branch release/1.2.5
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git


    from 4852d421 Merge remote-tracking branch 'origin/main' into test
     new 15358b8d feat(plugin): remove plugin log
     new 387c4f64 docs(upgrade): update version 1.2.5

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Makefile                                                | 2 +-
 README.md                                               | 2 +-
 internal/service/plugin_common/plugin_common_service.go | 7 ++-----
 3 files changed, 4 insertions(+), 7 deletions(-)


(incubator-answer) 01/02: feat(plugin): remove plugin log

Posted by li...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a commit to branch release/1.2.5
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git

commit 15358b8d16ed9d4b8990b901853ab6e818177ada
Author: LinkinStars <li...@foxmail.com>
AuthorDate: Mon Jan 29 17:10:22 2024 +0800

    feat(plugin): remove plugin log
---
 internal/service/plugin_common/plugin_common_service.go | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/internal/service/plugin_common/plugin_common_service.go b/internal/service/plugin_common/plugin_common_service.go
index 523c127f..d064fa99 100644
--- a/internal/service/plugin_common/plugin_common_service.go
+++ b/internal/service/plugin_common/plugin_common_service.go
@@ -153,13 +153,10 @@ func (ps *PluginCommonService) initPluginData() {
 			}
 		}
 
-		err = plugin.CallCache(func(cache plugin.Cache) error {
-			data.Cache = cache
+		_ = plugin.CallCache(func(cache plugin.Cache) error {
+			ps.data.Cache = cache
 			return nil
 		})
-		if err != nil {
-			log.Errorf("parse plugin cache failed: %v", err)
-		}
 	}
 
 	// init plugin user config


(incubator-answer) 02/02: docs(upgrade): update version 1.2.5

Posted by li...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a commit to branch release/1.2.5
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git

commit 387c4f643151ad908b049e9fac08cf4547dcda4b
Author: LinkinStars <li...@foxmail.com>
AuthorDate: Mon Jan 29 17:11:55 2024 +0800

    docs(upgrade): update version 1.2.5
---
 Makefile  | 2 +-
 README.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 6750d95d..637257f6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 .PHONY: build clean ui
 
-VERSION=1.2.1
+VERSION=1.2.5
 BIN=answer
 DIR_SRC=./cmd/answer
 DOCKER_CMD=docker
diff --git a/README.md b/README.md
index 804c6763..c0509510 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ To learn more about the project, visit [answer.apache.org](https://answer.apache
 ### Running with docker
 
 ```bash
-docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:1.2.1
+docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:1.2.5
 ```
 
 For more information, see [Installation](https://answer.apache.org/docs/installation).