forked from External/ergo
fix some issues found with staticcheck.io
This commit is contained in:
parent
ce6a3e42df
commit
c193def606
9 changed files with 12 additions and 63 deletions
|
|
@ -393,7 +393,7 @@ func (conf *Config) OperatorClasses() (map[string]*OperClass, error) {
|
|||
|
||||
// get inhereted info from other operclasses
|
||||
if len(info.Extends) > 0 {
|
||||
einfo, _ := ocs[info.Extends]
|
||||
einfo := ocs[info.Extends]
|
||||
|
||||
for capab := range einfo.Capabilities {
|
||||
oc.Capabilities[capab] = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue