1
0
Fork 0
forked from External/ergo

fix some issues found with staticcheck.io

This commit is contained in:
Shivaram Lingamneni 2019-05-10 01:44:14 -04:00
parent ce6a3e42df
commit c193def606
9 changed files with 12 additions and 63 deletions

View file

@ -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