pass global context through cobra

This commit is contained in:
Michael Eischer committed 2022-10-03 00:19:46 +02:00
1 parent 49126796d0
commit 6d2d297215
26 files changed
+26 -30

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ This can be mitigated by the "--copy-chunker-params" option when initializing a
new destination repository using the "init" command.
`,
RunE: func(cmd *cobra.Command, args []string) error {
return runCopy(globalCtx(), copyOptions, globalOptions, args)
return runCopy(cmd.Context(), copyOptions, globalOptions, args)
},
}