mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
Style fixes.
This commit is contained in:
Vendored
+2
-4
@@ -375,9 +375,8 @@ func (p *Package) Equals(p2 *Package) bool {
|
||||
found = true
|
||||
if f.Checksums != f2.Checksums {
|
||||
return false
|
||||
} else {
|
||||
break
|
||||
}
|
||||
break
|
||||
}
|
||||
|
||||
}
|
||||
@@ -554,9 +553,8 @@ func (collection *PackageCollection) Update(p *Package) error {
|
||||
found = true
|
||||
if f.Checksums != f2.Checksums {
|
||||
return fmt.Errorf("unable to save: %s, conflict with existing packge", p)
|
||||
} else {
|
||||
break
|
||||
}
|
||||
break
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user