mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-09 01:07:27 +00:00
Merge pull request #671 from SomtochiAma/incorrect-tf-path
Fix manifests path on Windows
This commit is contained in:
commit
ccc84a8367
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue