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

tsato pushed a commit to branch release-1.8.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit c3deee45b607344f2c833fe68ed95717ee3d0c1c
Author: Adriano Machado <unknown>
AuthorDate: Thu Jun 16 09:57:55 2022 -0400

    Fixed typo
---
 pkg/resources/resources_support.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/resources/resources_support.go 
b/pkg/resources/resources_support.go
index 684fab2f9..28fa9ab4f 100644
--- a/pkg/resources/resources_support.go
+++ b/pkg/resources/resources_support.go
@@ -104,7 +104,7 @@ func WithPrefix(pathPrefix string) ([]string, error) {
 
        var res []string
        for i := range paths {
-               path := filepath.FromSlash(paths[i])
+               path := filepath.ToSlash(paths[i])
                if result, _ := filepath.Match(pathPrefix+"*", path); result {
                        res = append(res, path)
                }
@@ -150,5 +150,5 @@ func Resources(dirName string) ([]string, error) {
 }
 
 func openAsset(path string) (http.File, error) {
-       return assets.Open(filepath.FromSlash(path))
+       return assets.Open(filepath.ToSlash(path))
 }

Reply via email to