-
Notifications
You must be signed in to change notification settings - Fork 10.2k
Open
Description
Static analysis tool flagged an instance of GetDowngradeInfo() that lacks a nil check of downgradeInfo and goes straight to .Enabled check, unlike other instances of this function being called.
etcd/server/etcdserver/version/version.go
Lines 76 to 77 in 3531079
downgradeInfo := m.s.GetDowngradeInfo() | |
if !downgradeInfo.Enabled { |
Metadata
Metadata
Assignees
Labels
No labels