Update variable names to be more apparent

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
This commit is contained in:
Tudor Marcu
2018-06-01 11:37:11 -07:00
committed by tmarcu
parent 9b52c63854
commit c1912451f5
+3 -3
View File
@@ -1950,13 +1950,13 @@ func (b *Builder) BuildDeltaPacksPreviousVersions(prev, to uint32, printReport b
return nil
}
func createDeltaPacks(from *swupd.Manifest, to *swupd.Manifest, printReport bool, outputDir, bundleDir string, numWorkers int) error {
func createDeltaPacks(fromMoM *swupd.Manifest, toMoM *swupd.Manifest, printReport bool, outputDir, bundleDir string, numWorkers int) error {
timer := &stopWatch{w: os.Stdout}
defer timer.WriteSummary(os.Stdout)
timer.Start("CREATE DELTA PACKS")
fmt.Printf("Creating delta packs from %d to %d\n", from.Header.Version, to.Header.Version)
bundlesToPack, err := swupd.FindBundlesToPack(from, to)
fmt.Printf("Creating delta packs from %d to %d\n", fromMoM.Header.Version, toMoM.Header.Version)
bundlesToPack, err := swupd.FindBundlesToPack(fromMoM, toMoM)
if err != nil {
return err
}