hxxxi-malog commented on code in PR #6807:
URL: https://github.com/apache/camel-k/pull/6807#discussion_r4005872536


##########
pkg/resources/resources_test.go:
##########
@@ -123,32 +119,14 @@ func TestResourcesWithPrefix(t *testing.T) {
 }
 
 func TestTemplateResource(t *testing.T) {
-       fname := "master-role-lease.tmpl"
-       name := "myintegration-master"
-       ns := "test-nm"
-
-       templateData := struct {
-               Namespace      string
-               Name           string
-               ServiceAccount string
+       data, err := TemplateResource("/resources/testdata/template.tmpl", 
struct {

Review Comment:
   Thank you for your review feedback. Deleting the exported Go API is 
technically a breaking change, which is also why it was kept initially; 
however, I will now remove it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to