Update linter for golang v1.25 compatibility
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
committed by
Christian Goll
parent
019408d076
commit
081d2ec61e
@@ -48,7 +48,7 @@ func (k collection) Default() *Kernel {
|
||||
nk := append(collection{}, k...)
|
||||
sort.Sort(sort.Reverse(nk))
|
||||
for _, kernel := range nk {
|
||||
if !(kernel.IsDebug() || kernel.IsRescue()) {
|
||||
if !kernel.IsDebug() && !kernel.IsRescue() {
|
||||
return kernel
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user