We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ea4f6b commit e59d96eCopy full SHA for e59d96e
gotests/patterncheck/patterncheck.go
@@ -23,7 +23,7 @@ import (
23
24
log "github.com/golang/glog"
25
26
- yangutil "github.com/openconfig/goyang/pkg/util"
+ yangentry "github.com/openconfig/goyang/pkg/yangentry"
27
"github.com/openconfig/goyang/pkg/yang"
28
"github.com/openconfig/ygot/util"
29
)
@@ -37,7 +37,7 @@ var (
37
// test cases specified for them. It ensures that the regexp compiles as a
38
// POSIX regular expression according to the OpenConfig style guide.
39
func CheckRegexps(yangfiles, paths []string) ([]string, error) {
40
- yangE, errs := yangutil.ProcessModules(yangfiles, paths)
+ yangE, errs := yangentr.Parse(yangfiles, paths)
41
if len(errs) != 0 {
42
return nil, fmt.Errorf("could not parse modules: %v", errs)
43
}
0 commit comments