mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-22 11:35:43 +00:00
Refactor all remaining create, delete, export, get command to use adapter
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
parent
c23e8c7ee1
commit
465eaa24d3
28 changed files with 513 additions and 1043 deletions
|
|
@ -195,7 +195,7 @@ func createSourceGitCmdRun(cmd *cobra.Command, args []string) error {
|
|||
}
|
||||
|
||||
if createArgs.export {
|
||||
return exportGit(gitRepository)
|
||||
return printExport(exportGit(&gitRepository))
|
||||
}
|
||||
|
||||
ctx, cancel := context.WithTimeout(context.Background(), rootArgs.timeout)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue