mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-20 10:57:09 +00:00
Fix: Implement golangci-lint suggestions
This commit is contained in:
1 parent
f4a152ab22
commit
ae61706a34
27 files changed
+51
-62
No files matched your search
+1
-1
@@ -74,7 +74,7 @@ func (p *Progress) Flush() {
|
||||
}
|
||||
|
||||
// InitBar starts progressbar for count bytes or count items
|
||||
func (p *Progress) InitBar(count int64, isBytes bool, barType aptly.BarType) {
|
||||
func (p *Progress) InitBar(count int64, isBytes bool, _ aptly.BarType) {
|
||||
if p.bar != nil {
|
||||
panic("bar already initialized")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user