Move hacks to hack (match k8s pattern).

This commit is contained in:
jregan
2019-10-27 05:05:23 -07:00
parent ff59e9b52f
commit cd50bf4e1e
96 changed files with 17 additions and 25 deletions

View File

@@ -150,7 +150,7 @@ func (l *Loader) loadPlugin(resId resid.ResId) (resmap.Configurable, error) {
if err == nil {
return p, nil
}
if err != nil && !os.IsNotExist(err) {
if !os.IsNotExist(err) {
return nil, err
}
c, err := l.loadGoPlugin(resId)