1
0
mirror of synced 2026-02-06 19:05:55 +00:00

Uses path instead of filepath

Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
Somtochi Onyekwere
2021-01-08 11:01:40 +01:00
parent 17bda9c110
commit daeb41c31b

View File

@@ -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
}