You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2022/08/01 20:57:37 UTC

[camel-karavan] branch main updated: Project name from properties (#442)

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

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
     new 043bc4f  Project name from properties (#442)
043bc4f is described below

commit 043bc4f8a3e574e11af6b1da43669450f355c964
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Mon Aug 1 16:57:32 2022 -0400

    Project name from properties (#442)
---
 .../src/main/java/org/apache/camel/karavan/service/KaravanService.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/karavan-app/src/main/java/org/apache/camel/karavan/service/KaravanService.java b/karavan-app/src/main/java/org/apache/camel/karavan/service/KaravanService.java
index 2a7d682..ebc2384 100644
--- a/karavan-app/src/main/java/org/apache/camel/karavan/service/KaravanService.java
+++ b/karavan-app/src/main/java/org/apache/camel/karavan/service/KaravanService.java
@@ -77,7 +77,7 @@ public class KaravanService {
                 // update project
                 if (properties != null){
                     project.setDescription(getProjectDescription(properties.get()));
-                    project.setDescription(getProjectName(properties.get()));
+                    project.setName(getProjectName(properties.get()));
                     infinispanService.saveProject(project);
                 }