mirror of
https://github.com/restic/restic.git
synced 2026-11-02 13:35:33 +00:00
pass global context through cobra
This commit is contained in:
1 parent
49126796d0
commit
6d2d297215
26 files changed
+26
-30
No files matched your search
@@ -24,7 +24,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
|
||||
`,
|
||||
DisableAutoGenTag: true,
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
return runMigrate(globalCtx(), migrateOptions, globalOptions, args)
|
||||
return runMigrate(cmd.Context(), migrateOptions, globalOptions, args)
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user