mirror of
https://github.com/restic/restic.git
synced 2026-11-05 06:49:21 +00:00
global: make private fields public
This commit is contained in:
1 parent
394c8de502
commit
2c677d8db4
62 files changed
+258
-259
No files matched your search
@@ -35,7 +35,7 @@ Exit status is 12 if the password is incorrect.
|
||||
DisableAutoGenTag: true,
|
||||
GroupID: cmdGroupDefault,
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
return runMigrate(cmd.Context(), opts, *globalOptions, args, globalOptions.term)
|
||||
return runMigrate(cmd.Context(), opts, *globalOptions, args, globalOptions.Term)
|
||||
},
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@ func applyMigrations(ctx context.Context, opts MigrateOptions, gopts GlobalOptio
|
||||
}
|
||||
|
||||
func runMigrate(ctx context.Context, opts MigrateOptions, gopts GlobalOptions, args []string, term ui.Terminal) error {
|
||||
printer := ui.NewProgressPrinter(false, gopts.verbosity, term)
|
||||
printer := ui.NewProgressPrinter(false, gopts.Verbosity, term)
|
||||
|
||||
ctx, repo, unlock, err := openWithExclusiveLock(ctx, gopts, false, printer)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user