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

Use slash target path in Git bootstrap sync opts
pull/1287/head
Hidde Beydals 4 years ago committed by GitHub
commit 7bb0704401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save