Merge pull request #671 from SomtochiAma/incorrect-tf-path
Fix manifests path on Windows
This commit is contained in:
@@ -19,7 +19,7 @@ package sync
|
|||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"path/filepath"
|
"path"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
@@ -93,7 +93,7 @@ func Generate(options Options) (*manifestgen.Manifest, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return &manifestgen.Manifest{
|
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)),
|
Content: fmt.Sprintf("---\n%s---\n%s", resourceToString(gitData), resourceToString(ksData)),
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user