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

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


The following commit(s) were added to refs/heads/main by this push:
     new 09ff618ed fix(util): gitops newline to append in all profile
09ff618ed is described below

commit 09ff618ede9aab73bfcc8b321a04f0bf7a5d1cf2
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Sat Mar 28 09:12:41 2026 +0100

    fix(util): gitops newline to append in all profile
    
    Closes #6512
---
 pkg/util/gitops/gitops.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/util/gitops/gitops.go b/pkg/util/gitops/gitops.go
index c28efd764..d41cf902e 100644
--- a/pkg/util/gitops/gitops.go
+++ b/pkg/util/gitops/gitops.go
@@ -319,7 +319,7 @@ resources:
                        }
                        defer f.Close()
 
-                       if _, err := f.WriteString(resource); err != nil {
+                       if _, err := f.WriteString(resource + "\n"); err != nil 
{
                                return err
                        }
                }

Reply via email to