forked from TrueCloudLab/restic
pass global context through cobra
This commit is contained in:
parent
49126796d0
commit
6d2d297215
26 changed files with 26 additions and 30 deletions
|
@ -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)
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue