chore: bump golangci-lint and fix all linting issues (#21761)
This commit is contained in:
@@ -594,7 +594,6 @@ func (m *Manager) assertNoForgottenModules(setOrderFnName string, moduleNames []
|
||||
}
|
||||
var missing []string
|
||||
for m := range m.Modules {
|
||||
m := m
|
||||
if pass != nil && pass(m) {
|
||||
continue
|
||||
}
|
||||
@@ -834,7 +833,6 @@ func (m *Manager) GetVersionMap() appmodule.VersionMap {
|
||||
if v, ok := v.(appmodule.HasConsensusVersion); ok {
|
||||
version = v.ConsensusVersion()
|
||||
}
|
||||
name := name
|
||||
vermap[name] = version
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user