mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 00:37:27 +00:00
Use slash target path in Git bootstrap sync opts
As otherwise (comparisons to) cluster configuration will fail due to Separator differences. Was already fixed for provider implementations. Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
parent
67691e92e3
commit
3aa45e72e7
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ func bootstrapGitCmdRun(cmd *cobra.Command, args []string) error {
|
|||
URL: repositoryURL.String(),
|
||||
Branch: bootstrapArgs.branch,
|
||||
Secret: bootstrapArgs.secretName,
|
||||
TargetPath: gitArgs.path.String(),
|
||||
TargetPath: gitArgs.path.ToSlash(),
|
||||
ManifestFile: sync.MakeDefaultOptions().ManifestFile,
|
||||
GitImplementation: sourceGitArgs.gitImplementation.String(),
|
||||
RecurseSubmodules: bootstrapArgs.recurseSubmodules,
|
||||
|
|
|
|||
Loading…
Reference in a new issue