From daeb41c31b647ac9b9476b0a1dada917bb89020d Mon Sep 17 00:00:00 2001 From: Somtochi Onyekwere Date: Fri, 8 Jan 2021 11:01:40 +0100 Subject: [PATCH] Uses path instead of filepath Signed-off-by: Somtochi Onyekwere --- pkg/manifestgen/sync/sync.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/manifestgen/sync/sync.go b/pkg/manifestgen/sync/sync.go index e2d3c116..840d8498 100644 --- a/pkg/manifestgen/sync/sync.go +++ b/pkg/manifestgen/sync/sync.go @@ -19,7 +19,7 @@ package sync import ( "bytes" "fmt" - "path/filepath" + "path" "strings" "time" @@ -93,7 +93,7 @@ func Generate(options Options) (*manifestgen.Manifest, error) { } return &manifestgen.Manifest{ - Path: filepath.Join(options.TargetPath, options.Namespace, options.ManifestFile), + Path: path.Join(options.TargetPath, options.Namespace, options.ManifestFile), Content: fmt.Sprintf("---\n%s---\n%s", resourceToString(gitData), resourceToString(ksData)), }, nil }