You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by wa...@apache.org on 2022/07/19 07:50:57 UTC

[incubator-devlake] 03/06: fix: jira verify enckey and jira encode password and typo

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

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

commit b40095d06ecc21977cceeb4fc6e9298300679482
Author: abeizn <zi...@merico.dev>
AuthorDate: Mon Jul 18 23:50:24 2022 +0800

    fix: jira verify enckey and jira encode password and typo
---
 plugins/jira/models/migrationscripts/init_schema.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/jira/models/migrationscripts/init_schema.go b/plugins/jira/models/migrationscripts/init_schema.go
index 44e6b458..b4d54e52 100644
--- a/plugins/jira/models/migrationscripts/init_schema.go
+++ b/plugins/jira/models/migrationscripts/init_schema.go
@@ -139,7 +139,7 @@ func (*InitSchemas) Up(ctx context.Context, db *gorm.DB) error {
 				c := config.GetConfig()
 				encKey := c.GetString("ENCODE_KEY")
 				if encKey == "" {
-					return fmt.Errorf("jia v0.10 invalid encKey")
+					return fmt.Errorf("jira v0.10 invalid encKey")
 				}
 				auth, err := core.Decrypt(encKey, v.BasicAuthEncoded)
 				if err != nil {