1
0
mirror of synced 2026-03-13 15:26:55 +00:00

Merge pull request #1308 from fluxcd/windows-path-boot-git

Use slash target path in Git bootstrap sync opts
This commit is contained in:
Hidde Beydals
2021-04-21 12:08:52 +02:00
committed by GitHub

View File

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