Verify dependencies with progress.

This commit is contained in:
Andrey Smirnov
2014-03-07 18:13:48 +04:00
parent c55733fc05
commit a96ab00afc
13 changed files with 34 additions and 11 deletions
+3 -1
View File
@@ -70,7 +70,9 @@ func aptlySnapshotVerify(cmd *commander.Command, args []string) error {
return fmt.Errorf("unable to determine list of architectures, please specify explicitly")
}
missing, err := packageList.VerifyDependencies(context.dependencyOptions, architecturesList, sourcePackageList)
context.progress.Printf("Verifying...\n")
missing, err := packageList.VerifyDependencies(context.dependencyOptions, architecturesList, sourcePackageList, context.progress)
if err != nil {
return fmt.Errorf("unable to verify dependencies: %s", err)
}